/* ========= tcvn5574 ========= */

header h1 a {
    text-decoration: none;
	color: #B22222;
}


/* Formula Styling */
.formula {margin-left: 40px;}





/* Table Styling */
table {
    width: auto;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1em;
    box-shadow: 0 2px 3px rgba(0,0,0,0.1);
    table-layout: fixed;
}

caption {
    caption-side: top;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
}

th {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
	width: 120px;
	background-color: #f2f2f2;
}

th.narrow_width {
    width: 100px; /* Width for all other narrow headers */
}

th.large_width {
    width: 150px; /* Width for all other narrow headers */
}

td {
    padding: 5px;
    border: 1px solid #ddd;
    text-align: center;
	width: auto;
	height: 50px;
}

td select {
	width: auto; 
	font-size: inherit;
	/* text-align: center; */
	background: #FFFFE0;
    border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: 5px;
    padding: 5px 0;
	margin: 0px;
}


td input {
	width: 100%; /* change */
	font-family: inherit;
	text-align: center;
	background: #FFFFE0;
    border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: 5px;
    padding: 5px 0;
	margin: 0px;
}



input[type="submit"] {
	padding: 10px;
	margin-top: 20px;
	width: auto;
	background: #F0FFFF;
	border: 1px solid #04699d;
	border-radius: 5px;
	font-size: inherit;
	color: #000080;
}

#column-section {
	display: flex;
	flex-wrap: wrap;
	/* justify-content: space-between; */
}

#plot-container {
	width: 100%;
	overflow: hidden;
}
		
#plot-container img {
	max-width: 100%;
	height: auto;
}

.form-label {
    display: inline-block;
    width: 80px;
	margin-left: 20px;
    box-sizing: border-box; /* Ensures padding and border are included in width */
}

.li-input {
    display: inline-block;
    width: 100px;
	text-align: center;
    box-sizing: border-box; /* Ensures padding and border are included in width */
}

form ul {
    list-style: none; /* Removes default list styling */
    padding: 0;
}

form ul li {
    margin: 5px 0; /* Adds space between list items */
}



/* Responsive Adjustments for Small Screens */
@media only screen and (max-width: 320px) {
    
    input, select {
        width: 70px; /* Further reduce width */
    }
 
}