
/**
 * LCRA Gate Operations - Frontend Styles
 */
.lcra-lake-data {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
	margin: 20px 0;
}

.lcra-lake-card {
	background: #002d72;
	border: 1px solid #34495e;
	color: #ecf0f1;
	padding: 20px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
	transition: box-shadow .3s ease;
}

.lcra-lake-card:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, .15);
}

.lcra-lake-name {
	margin: 0;
	color: #ecf0f1;
	border-bottom-color: #3498db;
	font-size: 1.4em;
	padding-bottom: 8px;
}

.lcra-lake-card .underline {
	border-top: solid 1px #fff;
	margin-bottom: 10px;
}

.lcra-lake-levels {
	display: flex;
	gap: 20px;
	margin-bottom: 15px;
	flex-wrap: wrap;
}

.lcra-level-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #34495e;
	padding: 10px;
	min-width: 80px;
}

.lcra-level-label {
	font-size: .9em;
	color: #bdc3c7;
	margin-bottom: 5px;
	font-weight: 500;
}

.lcra-level-value {
	font-size: 1.2em;
	font-weight: bold;
	color: #ecf0f1;
}

.lcra-inflows, .lcra-gate-ops, .lcra-forecast {
	margin-bottom: 15px;
}

.lcra-inflows h4, .lcra-gate-ops h4, .lcra-forecast h4 {
	margin: 0 0 8px 0;
	color: #ecf0f1;
	font-size: 1.1em;
	font-weight: 600;
}

.lcra-inflows p, .lcra-gate-ops p, .lcra-forecast p {
	margin: 0;
	line-height: 1.5;
	color: #fff;
	margin-bottom: 0px !important;
}

.lcra-last-updated {
	margin-top: 0px;
	padding-top: 0px;
	padding-bottom: 10px;
	text-align: left;
	font-size: .8rem;
	line-height: .8rem;
}

.lcra-last-updated small {
	color: #fff;
	font-style: italic;
}

.lcra-lake-card .et_pb_button_module_wrapper {
	margin-top: 20px;
}

.lcra-no-data {
	text-align: center;
	color: #bdc3c7;
	font-style: italic;
	padding: 20px;
	background: #34495e;
	border: 1px solid #2c3e50;
}

.lcra-error {
	color: #dc3545;
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	padding: 10px;
	margin: 10px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
	.lcra-lake-data {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	.lcra-lake-levels {
		flex-direction: column;
		gap: 10px;
	}
	
	.lcra-level-item {
		flex-direction: row;
		justify-content: space-between;
		min-width: auto;
	}
	
	.lcra-lake-card {
		padding: 15px;
	}
	
	.lcra-lake-name {
		font-size: 1.2em;
	}
}

@media (max-width: 480px) {
	.lcra-lake-card {
		padding: 12px;
	}
	
	.lcra-lake-name {
		font-size: 1.1em;
	}
	
	.lcra-level-value {
		font-size: 1.1em;
	}
}

/* Table Format Styles */
table.lcra-lake-table {
	border: none !important;
	margin: 0 !important;
}

.lcra-table-container {
	overflow-x: auto;
	margin: 10px 0;
	padding: 0;
	font-family: "futura-pt", "FuturaStd-Book", sans-serif;
	font-size: 16px;
}

.lcra-lake-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.lcra-lake-table thead {
	/* background: #f5f5f5; */
	color: #000;
}

.lcra-lake-table th {
	padding: 12px 15px;
	text-align: left;
	font-weight: 600;
	font-size: 1em;
	color: #000;
	border-bottom: 1px solid #ddd;
}

.lcra-lake-table tbody tr {}

.entry-content .lcra-lake-table tr td {
	border-top: 1px solid #2c2c2c;
	padding: 6px 4px;
}

.entry-content .lcra-lake-table tbody tr:first-child td {
	border-top: none;
}

/* .lcra-lake-table tbody tr:hover {
    background-color: #f5f5f5;
}

.lcra-lake-table tbody tr:nth-child(even) {
    background-color: #f5f5f5;
}

.lcra-lake-table tbody tr:nth-child(even):hover {
    background-color: #f5f5f5;
} */
.lcra-lake-table td {
	padding: 12px 15px;
	vertical-align: top;
	line-height: 1.4;
	color: #000;
	background: transparent;
}

/* .lcra-lake-table td:first-child {
    font-weight: 600;
    color: #000;
} */
.lcra-lake-table td:nth-child(2), .lcra-lake-table td:nth-child(3) {
	text-align: left;
	font-weight: normal;
	color: #000;
}

.lcra-lake-table td:last-child {
	font-size: .9em;
	color: #000;
	font-style: normal;
}

/* Column width specifications for floodgate operations table */
.lcra-lake-table th:first-child, .lcra-lake-table td:first-child, .lcra-lake-table th:nth-child(3), .lcra-lake-table td:nth-child(3) {
	width: 25%;
}

.lcra-lake-table th:nth-child(2), .lcra-lake-table td:nth-child(2) {
	width: 50%;
}

/* Responsive table */
@media (max-width: 768px) {
	.lcra-table-container {
		font-size: .9em;
	}
	
	.lcra-lake-table th, .lcra-lake-table td {
		padding: 8px 6px;
	}
	
	.lcra-lake-table th {
		font-size: .8em;
	}
}

@media (max-width: 480px) {
	.lcra-lake-table th, .lcra-lake-table td {
		padding: 6px 4px;
	}
	
	.lcra-lake-table th {
		font-size: .75em;
	}
	
	.lcra-lake-table td {
		font-size: .85em;
	}
}

/* Single Lake Card Styles */
.lcra-single-lake-card {
	display: flex;
	flex-direction: column;
	height: 270px;
	font-family: "futura-pt", "FuturaStd-Book", sans-serif;
	font-size: 16px;
}

.lcra-single-lake-card .et_pb_button_module_wrapper {
	margin: 0 !important;
	margin-top: auto !important;
	padding: 0 !important;
	padding-top: 0px !important;
}

.lcra-single-lake-card .et_pb_button {
	margin: 0 !important;
	padding: 0 !important;
}
