body {
    font-family: sans-serif;
    margin: 0;
    background-color: #f4f4f4;
    color: #333;
    min-height: 100vh; /* Ensure body takes full viewport height */
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 800px;
    text-align: center;
    margin: 20px auto; /* Center the container and add top margin to avoid overlap */
}

.container-wide {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
}

h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

p {
    line-height: 1.6;
    margin-bottom: 20px;
}

input[type="file"] {
    display: block;
    margin: 20px auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2980b9;
}

/* Recording specific buttons */
#startRecordingBtn {
    background-color: #4caf50;
    margin: 10px 5px;
}

#startRecordingBtn:hover {
    background-color: #45a049;
}

#stopRecordingBtn {
    background-color: #f44336;
    margin: 10px 5px;
}

#stopRecordingBtn:hover {
    background-color: #da190b;
}

#startRecordingBtn:disabled, #stopRecordingBtn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#recordingSection, #uploadSection {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
}

#recordingSection h3, #uploadSection h3 {
    margin-top: 0;
    color: #333;
}

#recordingStatus {
    text-align: center;
}

#recordingTimer {
    font-size: 18px;
    margin-top: 5px;
}

#recordingStatusText {
    margin: 5px 0;
    font-weight: bold;
}

#status {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
}

#statusText {
    font-weight: bold;
}

#progressBarContainer {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin-top: 10px;
    overflow: hidden; /* Ensures the progress bar stays within the container */
}

#progressBar {
    width: 0%;
    height: 20px;
    background-color: #4caf50;
    text-align: center;
    line-height: 20px; /* Vertically center text if any */
    color: white;
    transition: width 0.4s ease;
}

#results {
    margin-top: 30px;
    text-align: left;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
}

#results h2 {
    color: #333;
    margin-top: 0;
}

#results h3 {
    color: #555;
    margin-top: 15px;
    margin-bottom: 5px;
}

pre {
    background-color: #eee;
    padding: 10px;
    border-radius: 4px;
    white-space: pre-wrap; /* Allows text to wrap */
    word-wrap: break-word; /* Breaks long words */
    max-height: 300px; /* Limit height and make scrollable if needed */
    overflow-y: auto;
}

/* Styles for the results sections */
.result-section {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.result-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Styles for editable email/calendar sections */
.editable-section {
    text-align: left;
    padding: 15px;
    background-color: #fdfdfd;
    border: 1px solid #e9e9e9;
    border-radius: 6px;
    margin-top: 10px;
}

.editable-section label {
    display: block;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #444;
}

.editable-section input[type="text"],
.editable-section textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Important for width calculation */
    margin-bottom: 10px;
    font-family: sans-serif;
    font-size: 14px;
}

.editable-section textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 120px;
}

.editable-section button {
    display: block;
    width: 100%;
    margin-top: 15px;
}

/* Specific styles for email body to look like pre but be editable */
.email-body {
    white-space: pre-wrap;
    word-wrap: break-word;
    background-color: #eee;
    padding: 10px;
    border-radius: 4px;
    font-family: monospace;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .container {
    background-color: #2c2c2c;
    box-shadow: 0 0 15px rgba(255,255,255,0.05);
}

body.dark-mode .container-wide {
    background-color: #2c2c2c; /* Dark mode background */
}

body.dark-mode h1 {
    color: #ffffff;
    background-color: transparent;
}

body.dark-mode p {
    color: #ccc;
    background-color: transparent;
}

.dark-mode .tab-container {
    border-bottom-color: #444;
    background-color: transparent;
}

body.dark-mode p {
    color: #ccc;
}

body.dark-mode h2 {
    color: #f1f1f1;
}

body.dark-mode #recordingSection, 
body.dark-mode #uploadSection,
body.dark-mode #results {
    background-color: #333333;
    border-color: #444444;
}

body.dark-mode #recordingSection h3, 
body.dark-mode #uploadSection h3,
body.dark-mode #results h2,
body.dark-mode #results h3 {
    color: #f1f1f1;
}

body.dark-mode pre {
    background-color: #222;
    color: #ddd;
}

body.dark-mode .editable-section {
    background-color: #3a3a3a;
    border-color: #555;
}

body.dark-mode .editable-section label {
    color: #e0e0e0;
}

body.dark-mode .editable-section input[type="text"],
body.dark-mode .editable-section textarea {
    background-color: #2c2c2c;
    color: #e0e0e0;
    border-color: #555;
}

/* Theme Switch Styles */
.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display:none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Info Toggle Styles */
.controls-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.info-toggle-wrapper {
    display: flex;
    align-items: center;
}

.info-toggle-wrapper span {
    margin-right: 10px;
}

.info-toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.info-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.info-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.info-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked + .info-slider {
    background-color: #2196F3;
}

input:checked + .info-slider:before {
    transform: translateX(26px);
}

.info-slider.round {
    border-radius: 34px;
}

.info-slider.round:before {
    border-radius: 50%;
}

.input-group {
    display: flex;
    margin-bottom: 10px;
}

.input-group input,
.input-group textarea {
    flex-grow: 1;
}

.mic-btn {
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    padding: 0 12px;
}

.mic-btn.listening {
    background-color: #e74c3c;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

#clientInfoContainer.client-info-hidden {
    display: none !important;
}

/* Client History Section */
#clientHistorySection {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
}

#clientHistorySection h3 {
    margin-top: 0;
    color: #333;
}

#clientSearch {
    display: flex;
    margin-bottom: 15px;
}

#clientSearchInput {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}

#searchClientBtn {
    border-radius: 0 4px 4px 0;
}

#clientHistoryResults {
    text-align: left;
}

.meeting-summary {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.meeting-summary h4 {
    margin-top: 0;
    color: #2c3e50;
}

.action-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.action-item input[type="checkbox"] {
    margin-right: 10px;
}

.action-item.completed label {
    text-decoration: line-through;
    color: #888;
}

body.dark-mode #clientHistorySection {
    background-color: #333333;
    border-color: #444444;
}

body.dark-mode #clientHistorySection h3 {
    color: #f1f1f1;
}

body.dark-mode #clientSearchInput {
    background-color: #2c2c2c;
    color: #e0e0e0;
    border-color: #555;
}

body.dark-mode .meeting-summary {
    background-color: #2c2c2c;
    border-color: #555;
}

body.dark-mode .meeting-summary h4 {
    color: #ffffff;
}

body.dark-mode .action-item.completed label {
    color: #aaa;
}

/* New styles for clients.html */
#clientsTable {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#clientsTable th, #clientsTable td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

#clientsTable th {
    background-color: #f2f2f2;
}

#clientsTable tr:hover {
    background-color: #f5f5f5;
    cursor: pointer;
}

.client-details-row td {
    padding: 20px;
    background-color: #fafafa;
}

.client-details-row .meeting-summary {
    margin-bottom: 15px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

body.dark-mode #clientsTable th, body.dark-mode #clientsTable td {
    border-color: #444;
}

body.dark-mode #clientsTable th {
    background-color: #3a3a3a;
}

body.dark-mode #clientsTable tr:hover {
    background-color: #3c3c3c;
}

body.dark-mode .client-details-row td {
    background-color: #333;
}

.chat-message {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
}

.user-message {
    background-color: #dcf8c6;
    align-self: flex-end;
}

.bot-message {
    background-color: #f1f0f0;
    align-self: flex-start;
}

.download-btn {
    background-color: #17a2b8;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    margin: 10px 5px;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #138496;
}

/* General Navbar Styling */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0 2rem;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo */
.navbar-logo {
    color: #333;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Main Nav Links */
.navbar-main {
    display: flex;
    gap: 2rem;
}

.nav-item {
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    padding: 22px 0;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: #007bff;
}

/* User-related items */
.navbar-user {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-item-icon {
    color: #555;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-item-icon:hover {
    color: #007bff;
}

.button.upload-button {
    background-color: #28a745;
}

.button.upload-button:hover {
    background-color: #218838;
}

/* Adjusting the theme-switch to fit in the navbar */
.theme-switch-wrapper {
    position: relative;
    top: 0;
    right: 0;
}

/* Dark Mode Navbar */
body.dark-mode .navbar {
    background-color: #2c2c2c;
    box-shadow: 0 2px 4px rgba(255,255,255,0.05);
}

body.dark-mode .navbar-logo,
body.dark-mode .nav-item,
body.dark-mode .nav-item-icon {
    color: #e0e0e0;
}

body.dark-mode .nav-item:hover,
body.dark-mode .nav-item-icon:hover {
    color: #4dabf7;
}

/* Meeting Type Selection Styles */
.meeting-type-selection fieldset {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.meeting-type-selection legend {
    font-weight: bold;
    padding: 0 5px;
    color: #333; /* Adjust as needed for dark mode */
}

.dark-mode .meeting-type-selection legend {
    color: #eee;
}

.meeting-type-selection .radio-group {
    display: flex;
    gap: 15px; /* Space between radio buttons */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.meeting-type-selection .radio-group input[type="radio"] {
    /* Hide default radio button */
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.meeting-type-selection .radio-group label {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #007bff; /* Primary color for border */
    border-radius: 20px; /* Rounded corners */
    cursor: pointer;
    background-color: #f0f8ff; /* Light background */
    color: #007bff; /* Primary color for text */
    transition: all 0.3s ease;
    font-size: 0.9em;
    user-select: none; /* Prevent text selection */
}

.dark-mode .meeting-type-selection .radio-group label {
    background-color: #334;
    border-color: #66aaff;
    color: #66aaff;
}

/* Style for checked radio button */
.meeting-type-selection .radio-group input[type="radio"]:checked + label {
    background-color: #007bff; /* Primary color for checked state */
    color: white;
    border-color: #007bff;
}

.dark-mode .meeting-type-selection .radio-group input[type="radio"]:checked + label {
    background-color: #66aaff;
    color: #1a1a1a; /* Dark text on light blue */
    border-color: #66aaff;
}

/* Hover effect */
.meeting-type-selection .radio-group label:hover {
    background-color: #e0f0ff; /* Lighter background on hover */
    border-color: #0056b3;
}

.dark-mode .meeting-type-selection .radio-group label:hover {
    background-color: #445;
    border-color: #88ccff;
}

/* Focus style for accessibility */
.meeting-type-selection .radio-group input[type="radio"]:focus + label {
    outline: 2px solid #0056b3;
    outline-offset: 2px;
}

.dark-mode .meeting-type-selection .radio-group input[type="radio"]:focus + label {
    outline-color: #88ccff;
}

/* Tab Styles for Supervisor Page */
.tab-container {
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.tab-link {
    background-color: transparent;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s, border-bottom 0.3s;
    border-bottom: 3px solid transparent;
    color: #555;
}

.tab-link.active, .tab-link:hover {
    color: #007bff;
    border-bottom: 3px solid #007bff;
}

.dark-mode .tab-container {
    border-bottom-color: #444;
}

.dark-mode .tab-link {
    color: #ccc;
}

.dark-mode .tab-link.active, .dark-mode .tab-link:hover {
    color: #66aaff;
    border-bottom-color: #66aaff;
}

.tab-content {
    display: none;
    background-color: #fff; /* Default light mode background */
    padding: 15px;
    border-radius: 0 0 8px 8px;
}

.dark-mode .tab-content {
    background-color: #333; /* Dark mode background */
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Supervisor Review Modal Enhancements */
.modal-content {
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: animatetop 0.4s;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.detail-grid div {
    background-color: #f9f9f9;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

.dark-mode .detail-grid div {
    background-color: #444;
}

.context-box, .summary-box {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    margin-top: 5px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.summary-box.final-summary {
    background-color: #e7f3ff;
    border-color: #b3d7ff;
}

.dark-mode .context-box, .dark-mode .summary-box {
    background-color: #2a2a2a;
    border-color: #555;
}

.dark-mode .summary-box.final-summary {
    background-color: #2c3e50;
    border-color: #3498db;
}

.review-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.dark-mode .review-actions {
    border-top-color: #555;
}

.review-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.review-table th, .review-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.review-table th {
    background-color: #f2f2f2;
}

.review-table tr:hover {
    background-color: #f5f5f5;
}

.dark-mode .review-table th, .dark-mode .review-table td {
    border-color: #444;
}

.dark-mode .review-table th {
    background-color: #3a3a3a;
}

.dark-mode .review-table tr:hover {
    background-color: #3c3c3c;
}

.dark-mode .review-table th, .dark-mode .review-table td {
    border-color: #444;
    background-color: #333;
    color: #eee;
}

.dark-mode .review-table th {
    background-color: #3a3a3a;
}

.dark-mode .review-table tr:hover {
    background-color: #3c3c3c;
}

.status-pending {
    background-color: #fff3cd;
    color: #664d03;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    border: 1px solid #ffe69c;
}

.dark-mode .status-pending {
    background-color: #332701;
    color: #ffc107;
    border-color: #594702;
}

.status-approved {
    background-color: #d4edda;
    color: #155724;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    border: 1px solid #c3e6cb;
}

.dark-mode .status-approved {
    background-color: #1a3a20;
    color: #7ad08a;
    border-color: #285a30;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    border: 1px solid #f5c6cb;
}

.dark-mode .status-rejected {
    background-color: #4a1a1a;
    color: #f08080;
    border-color: #6a2a2a;
}

.meeting-review-status {
    margin-top: 10px;
    font-weight: bold;
    display: inline-block;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    padding-top: 60px;
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    border-radius: 8px;
    position: relative;
}

.email-status-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    display: none; /* Hidden by default */
}

.email-status-message.success {
    display: block;
    background-color: #d4edda; /* Green */
    color: #155724;
    border: 1px solid #c3e6cb;
}

.email-status-message.error {
    display: block;
    background-color: #f8d7da; /* Red */
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.email-status-message.sending {
    display: block;
    background-color: #cce5ff; /* Blue */
    color: #004085;
    border: 1px solid #b8daff;
}


/* Add Animation */
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

.modal-content h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.dark-mode .modal-content {
    background-color: #333;
    color: #eee;
    border: 1px solid #555;
}

.dark-mode .modal-content h2 {
    color: #eee;
    border-bottom: 1px solid #555;
}

.modal-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.dark-mode .modal-content label {
    color: #ccc;
}

.modal-content input[type="text"],
.modal-content textarea {
    width: calc(100% - 22px); /* Account for padding and border */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    font-size: 1em;
    background-color: #fff;
    color: #333;
}

.dark-mode .modal-content input[type="text"],
.dark-mode .modal-content textarea {
    background-color: #444;
    color: #eee;
    border: 1px solid #666;
}

.modal-content textarea {
    resize: vertical;
}

.modal-buttons {
    text-align: right;
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.dark-mode .modal-buttons {
    border-top: 1px solid #555;
}

.modal-buttons button {
    margin-left: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.modal-buttons .button {
    background-color: #007bff;
    color: white;
}

.dark-mode .modal-buttons .button {
    background-color: #66aaff;
    color: #1a1a1a;
}

.modal-buttons .button.secondary {
    background-color: #6c757d;
    color: white;
}

.dark-mode .modal-buttons .button.secondary {
    background-color: #888;
    color: #eee;
}

gmp-place-autocomplete-element {
    width: 100%;
}

/* Force visibility and proper styling for the Maps Autocomplete element */
gmp-place-autocomplete-element input {
    height: 40px !important;
    padding: 8px 12px !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    width: 100% !important;
    box-sizing: border-box;
    font-size: 16px !important;
}


.dark-mode gmp-place-autocomplete-element input {
    background-color: #2c2c2c !important;
    color: #e0e0e0 !important;
    border-color: #555 !important;
}

/* The Close Button */
.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 10px;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.dark-mode .close-button {
    color: #ccc;
}

.dark-mode .close-button:hover,
.dark-mode .close-button:focus {
    color: white;
}

/* Success/Error Message for Email Sending */
#emailStatusMessage {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    display: none; /* Hidden by default */
}

#emailStatusMessage.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#emailStatusMessage.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.dark-mode #emailStatusMessage.success {
    background-color: #1a3a20;
    color: #7ad08a;
    border: 1px solid #285a30;
}

.dark-mode #emailStatusMessage.error {
    background-color: #4a1a1a;
    color: #f08080;
    border: 1px solid #6a2a2a;
}

.ai-disclosure-banner {
    background-color: #fff3cd;
    color: #664d03;
    text-align: center;
    padding: 10px;
    font-size: 0.9em;
    border-bottom: 1px solid #ffe69c;
}

.dark-mode .ai-disclosure-banner {
    background-color: #332701;
    color: #ffc107;
    border-bottom: 1px solid #594702;
}
