/* Professional Enterprise Report CSS */

/* Global Styles */
body {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

/* Headings with Color Variations */
h1 {
    font-size: 24px;
    color: #003366; /* Dark Blue for Title */
    text-align: center;
    border-bottom: 2px solid #003366;
    padding-bottom: 5px;
}
h2 {
    font-size: 22px;
text-align: left;
    color: #00509E; /* Medium Blue */
    border-bottom: 1px solid #00509E;
    padding-bottom: 3px;
}
h3 {
    font-size: 20px;
text-align: left;
    color: #0074D9; /* Slightly lighter Blue */
}
h4 {
    font-size: 18px;
text-align: left;
    color: #4B0082; /* Indigo (light violet touch) */
}
h5 {
    font-size: 16px;
text-align: left;
    color: #6A5ACD; /* Soft Slate Blue */
}
h6 {
    font-size: 14px;
text-align: left;
    color: #7B68EE; /* Light Violet */
}

/* Paragraphs & Text */
p {
    margin-bottom: 15px;
}
strong {
    font-weight: bold;
    color: #003366;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}
th {
    background-color: #003366; /* Dark Blue */
    color: #ffffff;
    font-weight: bold;
}
tbody tr:nth-child(odd) {
    background-color: #f2f2f2;
}
tbody tr:nth-child(even) {
    background-color: #e6f7ff; /* Light Blue for contrast */
}
tbody tr:hover {
    background-color: #d9ebff;
}

/* Lists */
ul, ol {
    margin-bottom: 15px;
    padding-left: 20px;
}
li {
    margin-bottom: 5px;
}

/* Links */
a {
    color: #00509E;
    text-decoration: none;
    font-weight: bold;
}
a:hover {
    text-decoration: underline;
}

/* Section Styling */
section {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    text-align: centre
}
/* Buttons - Professional Look */
button {
    background-color: #00509E;
    color: white;
    border: none;
    padding: 10px 16px; /* Proper padding */
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    min-width: 120px; /* Ensures proper button size */
    text-align: center;
}

button:hover {
    background-color: #003366;
}
 button:disabled {
            background: gray;
            cursor: not-allowed;
        }
textarea, select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}
/* Error Messages */
.error-message {
    color: red;
    font-size: 14px;
    display: none;
}
.container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
    position: relative;
}
 /* Card Design */
 .card {
    background: #e1fafe; /* Light blue, change as needed */
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #008cff;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
}
.modal {
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.4);
}
.modal-content {
	background-color: white;
	margin: 15% auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
}
.close {
	color: #aaa;
	float: right;
	font-size: 24px;
	font-weight: bold;
}
.close:hover,
.close:focus {
	color: black;
	text-decoration: none;
	cursor: pointer;
}
.hidden {
	display: none;
}
/* Adjust layout for select + textarea */
.input-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

/* Make sure no horizontal scrollbar */
body, html {
    overflow-x: hidden;
}

/* Smaller font across inputs */
select, textarea, button, label {
    font-size: 14px;
}

/* Multi-select container */
.dropdown-container {
    flex: 1 1 40%;
    min-width: 250px;
}

/* Textarea container */
.text-area-container {
    flex: 1 1 55%;
    min-width: 300px;
}

/* Hide the actual select initially */
.multi-select-dropdown {
    margin-top: 10px;
}

/* Hide class */
.hidden {
    display: none;
}

/* Button row spacing */
.button-row {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.side-by-side-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.models-checkbox-container,
.text-area-container {
    flex: 1;
    min-width: 250px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    background-color: #fff;
}

.checkbox-item {
    font-size: 14px;
}
