* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #eef2f7;
    color: #2c3e50;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}

/* Unified theme variables */
:root {
    --brand-start: #004694; /* Deep Blue */
    --brand-end: #0075f6;   /* Bright Blue */
    --brand-90: linear-gradient(90deg, var(--brand-start), var(--brand-end));
    --brand-135: linear-gradient(135deg, var(--brand-start), var(--brand-end));
    --accent: #0075f6;
    /* Sidebar state colors (left section) */
    --sidebar-hover: #0075f6;
    --sidebar-active: #0d5d91;
}
.search-box {
            width: 100%;
            max-width: 400px; /* Limit the width of the search box */
            padding: 12px 16px; /* Add padding for better spacing */
            margin-bottom: 20px; /* Add margin below the search box */
            border: 2px solid #3498db; /* Add a border with a primary color */
            border-radius: 8px; /* Rounded corners */
            font-size: 14px; /* Set font size */
            outline: none; /* Remove the default outline */
            transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for focus effect */
            background-color: #f9f9f9; /* Light background color */
            color: #2c3e50; /* Text color */
        }

        /* Optional: Add a focus effect to enhance user experience */
        .search-box:focus {
            border-color: #2980b9; /* Darker border color on focus */
            box-shadow: 0 0 8px rgba(52, 152, 219, 0.5); /* Add a subtle shadow on focus */
        }
		.search-box:focus {
    border-color: #2980b9; /* Change border color on focus */
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3); /* Add a subtle shadow on focus */
    background-color: #fff; /* Change background color on focus */
}

/* Add this to your existing CSS */
.preview-actions {
    margin-top: 20px;
    text-align: center;
}

.preview-actions .btn {
    margin: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.preview-actions .download-btn {
    background-color: #27ae60;
    color: #fff;
}

.preview-actions .download-btn:hover {
    background-color: #219653;
}

.preview-actions .print-btn {
    background-color: #3498db;
    color: #fff;
}

.preview-actions .print-btn:hover {
    background-color: #2980b9;
}
.preview-actions .close-btn {
    background-color: #ff5400;
    color: #fff;
}

.preview-actions .close-btn:hover {
    background-color: #de1a00;
}
/* Add this to your existing CSS */
#notificationBell {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

#notificationBell i {
    font-size: 24px;
    color: #ecf0f1;
}

#notificationBell:hover i {
    color: #3498db;
}

.notification-count {
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    position: absolute;
    top: -5px;
    right: -5px;
}


/* Add this to your existing CSS */
.notification-container {
    position: relative;
    display: inline-block;
}

.notification-dropdown {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 250px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

.notification-dropdown.show {
    display: block;
}

.notification-dropdown .ro-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
}

.notification-dropdown .ro-item:last-child {
    border-bottom: none;
}

.notification-dropdown .ro-item:hover {
    background-color: #f9f9f9;
}

.notification-dropdown .ro-item p {
    margin: 0;
    font-size: 14px;
    color: #2c3e50;
}

.notification-dropdown .ro-item p strong {
    color: var(--accent);
}
/* Add this to your existing CSS */
@keyframes bell-animation {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}

.animate-bell i {
    animation: bell-animation 1s infinite;
}

.bulk-actions {
    margin-bottom: 20px;
}

.bulk-actions .btn {
    margin-right: 10px;
}
.login-container, .register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: var(--brand-135);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.login-box, .register-box {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
    text-align: center;
    transition: transform 0.3s;
}

.login-box:hover, .register-box:hover {
    transform: translateY(-5px);
}

.login-logo-container {
    margin-bottom: 20px;
}

.login-logo {
    width: 80px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.login-box h2, .register-box h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.login-box input, .register-box input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border 0.3s;
}

.login-box input:focus, .register-box input:focus {
    border-color: #3498db;
}

.login-box button, .register-box button {
    background: #3498db;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.login-box button:hover, .register-box button:hover {
    background: #2980b9;
}

.login-box a, .register-box a {
    color: #3498db;
    text-decoration: none;
    display: block;
    margin-top: 10px;
    font-size: 14px;
}

.login-box a:hover, .register-box a:hover {
    color: #2980b9;
}

.header {
    background: var(--brand-90);
    color: #fff;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    transition: background 0.3s;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px; /* space between logo and menu */
}

.header .logo-container {
    display: flex;
    align-items: center;
}

.header .logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
    transition: filter 0.3s;
    cursor: pointer;
}

.header .logo {
    font-size: 24px;
    font-weight: 600;
}

.header .menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header .menu a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s;
}

.header .menu a:hover {
    color: var(--accent);
}

.header .menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

#weather {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    color: #fff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px; /* keep weather near the toggle button */
}

#weatherIcon {
    font-size: 1.5rem;
}

#weatherTemp {
    font-weight: bold;
}

.main-container {
    display: flex;
    margin-top: 70px;
}
.sidebar.collapsed {
    transform: translateX(-100%); /* Hide sidebar on desktop */
}
.sidebar-toggle-btn {
    background: #3498db;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s, transform 0.3s;
    margin-right: 10px;
}

.sidebar-toggle-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}
.sidebar {
    width: 220px;
    background: #fff;
    padding: 20px;
    height: calc(100vh - 70px);
    position: fixed;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transition: transform 0.3s ease-in-out; /* Smooth transition */
    z-index: 999;
}

.sidebar a {
    display: block;
    padding: 10px 10px;
    color: #2c3e50;
    text-decoration: none;
    margin: 8px 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s;
}

.sidebar a:hover {
    background: var(--sidebar-hover);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 117, 246, 0.3);
}

.sidebar a.active {
    background: var(--sidebar-active);
    color: #fff;
    box-shadow: 0 2px 10px rgba(13, 93, 145, 0.3);
}

/* User Profile Section Styles */
.user-profile-section {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    margin-bottom: 20px;
    background: var(--brand-135);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
}

.user-profile-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.profile-picture {
    margin-right: 12px;
    position: relative;
}

.profile-picture img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    transition: all 0.3s ease;
}

.profile-picture img:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.6);
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.profile-role {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Charts side by side layout */
.charts-container {
    display: flex;
    gap: 20px;
    width: 100%;
}

.chart-half {
    flex: 1;
    min-width: 0;
}

.chart-half h3 {
    margin-bottom: 15px;
    text-align: center;
}

.chart-half canvas {
    max-width: 100%;
    height: auto;
}

/* Responsive charts */
@media (max-width: 768px) {
    .charts-container {
        flex-direction: column;
        gap: 15px;
    }
}

/* Type badges for upcoming ROs */
.type-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.type-badge.newspaper {
    background-color: #3498db;
    color: white;
}

.type-badge.tv-radio {
    background-color: #0075f6;
    color: white;
}

/* Highlighted RO row animation */
.highlighted-ro {
    background-color: #fff3cd !important;
    border: 2px solid #ffc107 !important;
    animation: blinkHighlight 1s ease-in-out 6;
}

@keyframes blinkHighlight {
    0%, 100% { background-color: #fff3cd; }
    50% { background-color: #ffc107; }
}

/* Responsive styles for user profile section */
@media (max-width: 768px) {
    .user-profile-section {
        padding: 12px 8px;
        margin-bottom: 15px;
    }
    
    .profile-picture img {
        width: 40px;
        height: 40px;
    }
    
    .profile-name {
        font-size: 14px;
    }
    
    .profile-role {
        font-size: 11px;
    }
}
/* .compact-note removed (empty ruleset) */

/* Compact layout for Create TV/Radio RO */
#createTVRadioRO .bulk-ro-container {
    padding: 10px;
}

#createTVRadioRO .bulk-tv-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 6px 8px;
    align-items: start;
}

#createTVRadioRO .bulk-tv-row .form-group {
    margin-bottom: 6px;
}

#createTVRadioRO .bulk-tv-row .form-group label {
    font-size: 11px;
    margin-bottom: 2px;
}

#createTVRadioRO .bulk-tv-row .form-group input,
#createTVRadioRO .bulk-tv-row .form-group select,
#createTVRadioRO .bulk-tv-row .form-group textarea {
    padding: 5px 6px;
    font-size: 11px;
}
/* Inline RO number display for TV/Radio */
#createTVRadioRO .bulk-tv-row .ro-number-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
#createTVRadioRO .bulk-tv-row .ro-number-group label {
    margin: 0;
    font-weight: 600; /* same as other labels */
    font-size: 14px; /* align with Create New RO label size */
}
#createTVRadioRO .bulk-tv-row .ro-number-group .bulk-tv-ro-number {
    background: #f1f1f1;
    border: 1px solid #e0e4e8;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px; /* match Create New RO number sizing */
    width: auto;
}

#createTVRadioRO .bulk-tv-row .btn.btn-add,
#createTVRadioRO .bulk-tv-row .btn.btn-remove {
    padding: 6px 8px;
    font-size: 11px;
    min-width: 90px;
    white-space: nowrap; /* keep text in one line */
}
/* Add More button color for TV/Radio */
#createTVRadioRO .bulk-tv-row .btn.btn-add { background: #27ae60; }
#createTVRadioRO .bulk-tv-row .btn.btn-add:hover { background: #219653; }
/* Ensure Remove buttons in TV/Radio section are red */
#createTVRadioRO .bulk-tv-row .btn.btn-remove {
    background: #e74c3c;
}
#createTVRadioRO .bulk-tv-row .btn.btn-remove:hover {
    background: #c0392b;
}

#createTVRadioRO .bulk-tv-dates-list label {
    font-size: 11px;
}
#createTVRadioRO .bulk-tv-total-days-label,
#createTVRadioRO .bulk-tv-total-spots-label {
    font-size: 12px; /* match other form-group labels */
    color: #2c3e50;
    font-weight: 600;
}

/* Pretty date chips */
.tv-date-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #eef6ff;
    border: 1px solid #cfe6ff;
    color: #2c3e50;
    border-radius: 14px;
    padding: 3px 6px;
    margin: 3px 4px 0 0;
}
.tv-date-chip-label { display: inline-flex; align-items: center; gap: 6px; }
.tv-date-chip-remove {
    background: transparent;
    border: none;
    color: #e74c3c;
    font-weight: bold;
    cursor: pointer;
}
.tv-date-chip-remove:hover { color: #c0392b; }

#createTVRadioRO .bulk-tv-total-days,
#createTVRadioRO .bulk-tv-total-spots {
    font-size: 11px;
}

#createTVRadioRO .bulk-ro-container + .btn#saveBulkTVROsBtn {
    margin-top: 6px;
    padding: 8px 12px;
    font-size: 12px;
}

.content {
    margin-left: 240px; /* Default margin for desktop */
    padding: 25px;
    width: calc(100% - 240px);
    min-height: calc(100vh - 70px);
    background: #f7f9fc;
    transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out; /* Smooth transition */
}

.content.expanded {
    margin-left: 0; /* No margin when sidebar is hidden */
    width: 100%; /* Full width when sidebar is hidden */
}
/* Overlay for mobile view */
.overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 998; /* Below sidebar but above content */
}

.sidebar.active + .overlay {
    display: block; /* Show overlay when sidebar is active */
}
.preview-panel {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: background 0.3s;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    row-gap: 5px;
    column-gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e4e8;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    transition: border 0.3s, box-shadow 0.3s, background 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

/* Custom Searchable Dropdown Styles */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e4e8;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    transition: border 0.3s, box-shadow 0.3s;
    min-width: 0;
    overflow: hidden;
}

.custom-select-trigger:hover {
    border-color: #3498db;
}

.custom-select-trigger i {
    font-size: 12px;
    color: #7f8c8d;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 8px;
}

.custom-select.active .custom-select-trigger {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.custom-select.active .custom-select-trigger i {
    transform: rotate(180deg);
}

.custom-select-value {
    color: #2c3e50;
    flex: 1;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.custom-select-value.placeholder {
    color: #95a5a6;
}

.custom-select-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e4e8;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 4px;
    max-height: 300px;
    overflow: hidden;
    flex-direction: column;
}

.custom-select.active .custom-select-dropdown {
    display: flex;
}

.custom-select-search {
    position: relative;
    padding: 8px;
    border-bottom: 1px solid #e0e4e8;
    background: #f8f9fa;
}

.custom-select-search input {
    width: 100%;
    padding: 8px 30px 8px 10px;
    border: 1px solid #e0e4e8;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border 0.3s;
}

.custom-select-search input:focus {
    border-color: #3498db;
}

.custom-select-search i {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    font-size: 12px;
    pointer-events: none;
}

.custom-select-options {
    max-height: 240px;
    overflow-y: auto;
    padding: 4px 0;
}

.custom-select-option {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #2c3e50;
    transition: background 0.2s;
    display: block;
    text-align: left;
    border: none;
    width: 100%;
    background: none;
}

.custom-select-option:hover {
    background: #f0f4f8;
}

.custom-select-option.selected {
    background: #e3f2fd;
    color: #1976d2;
    font-weight: 600;
}

.custom-select-option.hidden {
    display: none;
}

/* Scrollbar styling for options */
.custom-select-options::-webkit-scrollbar {
    width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.custom-select-options::-webkit-scrollbar-thumb {
    background: #bdc3c7;
    border-radius: 3px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
    background: #95a5a6;
}

.btn {
    background: #3498db;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s, transform 0.3s;
    margin-right: 10px;
}

.btn.btn-sm {
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 6px;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.btn-import {
    background: #27ae60;
}

.btn-import:hover {
    background: #219653;
}

.bulk-ro-container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: background 0.3s;
}

.bulk-ro-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.bulk-ro-row .form-group {
    margin-bottom: 0;
}

.bulk-ro-row .form-group label {
    font-size: 12px;
}

.bulk-ro-row .form-group input,
.bulk-ro-row .form-group select,
.bulk-ro-row .form-group textarea {
    padding: 8px;
    font-size: 12px;
}
/* Inline RO number display for Bulk RO */
.bulk-ro-row .ro-number-group { display: flex; align-items: center; gap: 8px; }
.bulk-ro-row .ro-number-group label { margin: 0; font-weight: 600; font-size: 14px; }
.bulk-ro-row .ro-number-group .bulk-ro-number {
    background: #f1f1f1; border: 1px solid #e0e4e8; padding: 6px 10px; border-radius: 6px;
    font-size: 14px; width: auto;
}

.bulk-ro-row .btn-add {
    background: #27ae60;
    padding: 8px;
    font-size: 12px;
    width: 100px;
    white-space: nowrap; /* keep text in one line */
}

.bulk-ro-row .btn-add:hover {
    background: #219653;
}

.bulk-ro-row .btn-remove {
    background: #e74c3c;
    padding: 8px;
    font-size: 12px;
    width: 100px;
    white-space: nowrap; /* keep text in one line */
}

.bulk-ro-row .btn-remove:hover {
    background: #c0392b;
}

.ro-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: background 0.3s;
	margin-bottom: 20px;
}

.ro-table th, .ro-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e0e4e8;
    font-size: 12px;
    transition: border 0.3s;
}

.ro-table th {
    background: #2c3e50;
    color: #ecf0f1;
    font-weight: 600;
    transition: background 0.3s;
}

.ro-table tr.active {
    background: #65c76c;
}

.ro-table tr.cancelled {
    background: #e87283;
}

.ro-table tr:hover {
    background: #f1f5f9;
}

.ro-table .action-btn {
    padding: 6px 12px;
    margin-right: 5px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s;
}

.edit-btn {
    background: #3498db;
    color: #fff;
}

.edit-btn:hover {
    background: #2980b9;
}

.delete-btn {
    background: #e74c3c;
    color: #fff;
}

.delete-btn:hover {
    background: #c0392b;
}

.download-btn {
    background: #27ae60;
    color: #fff;
}

.download-btn:hover {
    background: #219653;
}

.restore-btn {
    background: #16a085;
    color: #fff;
}

.restore-btn:hover {
    background: #117864;
}

.cancel-btn {
    background: #f1c40f;
    color: #fff;
}

.cancel-btn:hover {
    background: #d4ac0d;
}

.uncancel-btn {
    background: #27ae60;
    color: #fff;
}

.uncancel-btn:hover {
    background: #219653;
}

.export-btn {
    background: #8e44ad;
    color: #fff;
    margin-top: 10px;
}

.export-btn:hover {
    background: #7d3c98;
}

.filter-section {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    transition: background 0.3s;
}

.account-section {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
    max-width: 600px;
    margin: 0 auto;
}

.account-section h2 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    transition: color 0.3s;
}

.account-section h3 {
    color: #3498db;
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 10px;
    transition: color 0.3s;
}

.account-section .form-group {
    background: #f9fafc;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: background 0.3s;
}

.account-section .form-group label {
    font-size: 14px;
    margin-bottom: 8px;
}

.account-section .form-group input,
.account-section .form-group select {
    background: #fff;
    border: 1px solid #e0e4e8;
    padding: 10px;
    font-size: 14px;
    transition: border 0.3s, background 0.3s;
}

.account-section .form-group input:focus,
.account-section .form-group select:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.account-section .form-group .btn {
    margin-top: 10px;
    width: 100%;
    padding: 12px;
    font-size: 14px;
}

.account-section .profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    border: 3px solid #3498db;
    transition: border 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.account-section .form-group input[type="file"] {
    padding: 5px;
    border: none;
    background: none;
}

.color-scheme-selector {
    margin-top: 20px;
}

.color-scheme-selector label {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.color-scheme-selector select {
    width: 100%;
    padding: 8px;
    border: 1px solid #e0e4e8;
    border-radius: 8px;
    font-size: 14px;
    transition: border 0.3s, background 0.3s;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%; /* Ensure the footer spans the full width */
    left: 0; /* Force edge-to-edge, ignoring parent padding */
    right: 0; /* Force edge-to-edge, ignoring parent padding */
    background: var(--brand-90);
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    transition: background 0.3s, color 0.3s;

}

@media (max-width: 768px) {
    .sidebar {
        width: 220px; /* Sidebar width for mobile */
        transform: translateX(-100%); /* Hide sidebar by default on mobile */
        transition: transform 0.3s ease-in-out; /* Smooth transition */
    }

    .sidebar.active {
        transform: translateX(0); /* Show sidebar when active */
    }

    .content {
        margin-left: 0; /* No margin for content on mobile */
        width: 100%; /* Full width for content on mobile */
    }

    .sidebar-toggle-btn {
        display: block; /* Show toggle button on mobile */
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1001; /* Ensure it's above other elements */
        background: #3498db;
        color: #fff;
        padding: 10px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    .header .menu {
        display: none; /* Hide the menu on mobile */
    }

    .header .menu-btn {
        display: block; /* Show the menu button on mobile */
    }

    .footer {
        width: 100%;
        margin-left: 0;
    }

    .account-section {
        max-width: 100%;
    }
	#weather, #notificationBell {
        display: none;
    }

	
/* Pagination Styles */
#pagination button {
    background: #3498db;
    color: #fff;
    padding: 8px 12px;
    margin: 0 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

#pagination button:hover {
    background: #2980b9;
}

#pagination button.active {
    background: #2c3e50;
    font-weight: bold;
}

#pagination button:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}
}
#pagination a {
    padding: 8px 16px;
    text-decoration: none;
    color: black;
}

#pagination a.active {
    background-color: #4CAF50;
    color: white;
}

#pagination a.disabled {
    color: grey;
    pointer-events: none;
}
#pagination {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.pagination-wrapper {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	display: flex;
	justify-content: center;
	margin-top:20px;
	margin-bottom:50px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 4px;
    text-decoration: none;
    color: #333;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background: #e9ecef;
    transform: scale(1.1);
}

.pagination-btn.active {
    background: #007bff;
    color: white;
    font-weight: bold;
    cursor: default;
    transform: scale(1.1);
}

.pagination-btn.disabled {
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}
/* Add this at the end of styles.css */
.modal, #emailModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

#roPreviewContent {
    font-family: 'Helvetica', sans-serif;
    color: #2c3e50;
}

#roPreviewContent h1 {
    font-size: 28px;
    text-align: center;
    color: #000;
    margin-bottom: 20px;
}

#roPreviewContent p {
    font-size: 14px;
    margin: 5px 0;
}

#roPreviewContent .visible-section {
    margin: 15px 0;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
}

#roPreviewContent .visible-section h3 {
    font-size: 14px;
    margin-bottom: 10px;
    background: #e0e0e0;
    padding: 5px;
    border-radius: 3px;
}

#roPreviewContent img {
    max-width: 100px;
    margin-bottom: 10px;
}
.preview-btn {
    background: #f39c12;
	color: #fff;
}
/* No significant changes needed beyond ensuring section display control, but here’s a recap of dashboard styles for clarity */

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.dashboard-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    transition: color 0.3s;
}

.month-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.month-selector label {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    transition: color 0.3s;
}

.month-selector input[type="month"] {
    padding: 10px;
    border: 1px solid #e0e4e8;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    transition: border 0.3s, box-shadow 0.3s, background 0.3s;
}

.month-selector input[type="month"]:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.stat-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card p {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.confirm-ro {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.total-ro {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
}

.total-space {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.total-final-amount {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.totalConfirmTVRO {
    background: linear-gradient(135deg, #0075f6, #0d5d91);
}
.totalTVRO {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -80%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    transition: all 0.5s;
}

.stat-card:hover::before {
    top: -30%;
    left: -30%;
}

.dashboard-graph {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
	margin-bottom: 50px;
}

.dashboard-graph h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

/* Ensure sections are hidden by default */
.section {
    display: none;
}
.visible-section {
    display: block; /* Ensures these sections are visible */
}

/* Bulk TV Date Modal Styles */
.date-input-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.date-input-group input[type="date"] {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.btn-add, .btn-remove {
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.btn-add {
    background-color: #28a745;
    color: white;
}

.btn-remove {
    background-color: #dc3545;
    color: white;
}

.btn-add:hover {
    background-color: #218838;
}

.btn-remove:hover {
    background-color: #c82333;
}

h1 {
    background-color: black; /* Black background */
    color: white; /* White text */
    padding: 10px 20px; /* Vertical and horizontal padding */
    border-radius: 10px; /* Rounded corners */
    display: block; /* Keeps the rectangle tight to the text */
    text-align: center; /* Centers the text */
}


/* Dark theme adjustments remain unchanged */
@media (prefers-color-scheme: dark) {
    .stat-card {
        background: #34495e;
    }
    .confirm-ro {
        background: var(--brand-135);
    }
    .total-ro {
        background: var(--brand-135);
    }
    .total-space {
        background: var(--brand-135);
    }
    .total-final-amount {
        background: var(--brand-135);
    }
    .month-selector input[type="month"] {
        background: #34495e;
        color: #ecf0f1;
    }
    .dashboard-graph {
        background: #2e2e2e;
    }
	.login-box, .forgotPasswordBox {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
    text-align: center;
    transition: transform 0.3s;
}

.login-box:hover, .forgotPasswordBox:hover {
    transform: translateY(-5px);
}

.login-box input, .forgotPasswordBox input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border 0.3s;
}

.login-box input:focus, .forgotPasswordBox input:focus {
    border-color: #3498db;
}

.login-box button, .forgotPasswordBox button {
    background: #3498db;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.login-box button:hover, .forgotPasswordBox button:hover {
    background: #2980b9;
}

.login-box a, .forgotPasswordBox a {
    color: #3498db;
    text-decoration: none;
    display: block;
    margin-top: 10px;
    font-size: 14px;
}

.login-box a:hover, .forgotPasswordBox a:hover {
    color: #2980b9;
}
/* Style for the search box */
.search-box {
    width: 100%;
    max-width: 400px; /* Limit the width of the search box */
    padding: 12px 16px; /* Add padding for better spacing */
    margin-bottom: 20px; /* Add margin below the search box */
    border: 2px solid #3498db; /* Add a border with a primary color */
    border-radius: 8px; /* Rounded corners */
    font-size: 14px; /* Set font size */
    outline: none; /* Remove the default outline */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for focus effect */
    background-color: #f9f9f9; /* Light background color */
    color: #2c3e50; /* Text color */
}

/* Style for the search box when focused */
.search-box:focus {
    border-color: #2980b9; /* Change border color on focus */
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3); /* Add a subtle shadow on focus */
    background-color: #fff; /* Change background color on focus */
}

/* Add margin to the sections for better spacing */
.section {
    margin: 20px 0; /* Add margin to the top and bottom of each section */
    padding: 20px; /* Add padding inside the section */
    background-color: #fff; /* White background */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
#currentDateTime {
    font-size: 24px; /* Big font size */
    font-weight: bold; /* Bold text */
    color: #2c3e50; /* Dark color for better visibility */
    margin-bottom: 20px; /* Space below the date and time */
    text-align: center; /* Center the text */
    font-family: 'Courier New', Courier, monospace; /* Monospace font */
    width: 300px; /* Fixed width to prevent layout shift */
    margin-left: auto; /* Center the container */
    margin-right: auto; /* Center the container */
    white-space: nowrap; /* Prevent text from wrapping */
}
input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

/* Help Section Styles */
.help-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}



.help-section {
    background: white;
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #3498db;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.help-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.help-section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #3498db;
    display: inline-block;
}

.help-content {
    line-height: 1.6;
    color: #555;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Role Comparison */
.role-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.role-card {
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.role-card:hover {
    transform: translateY(-3px);
}

.role-card.admin {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
}

.role-card.editor {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
}

.role-card.guest {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
    color: #2c3e50;
}

.role-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.role-card ul {
    list-style: none;
    padding: 0;
}

.role-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.role-card li:last-child {
    border-bottom: none;
}

/* Fields Grid */
.fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.field-category {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.field-category h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.field-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.field-item {
    padding: 0.8rem;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #3498db;
    transition: all 0.3s ease;
}

.field-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.field-item.required {
    border-left-color: #e74c3c;
}

.field-item.optional {
    border-left-color: #f39c12;
}

.field-item strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.3rem;
}

/* Guide Steps */
.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step-card {
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    border-left: 5px solid;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-card.create-ro {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    border-left-color: #2c3e50;
}

.step-card.bulk-ro {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border-left-color: #c0392b;
}

.step-card.manage-ro {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-left-color: #5a67d8;
}

.step-card.export-data {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-left-color: #e91e63;
}

.step-card h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.4rem;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.step-card ol {
    padding-left: 1.5rem;
}

.step-card li {
    margin: 0.8rem 0;
    line-height: 1.5;
}

/* Data Management Grid */
.data-management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.management-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.management-card:hover {
    transform: translateY(-3px);
}

.management-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.management-card p {
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.management-card ul {
    list-style: none;
    padding: 0;
}

.management-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.management-card li:last-child {
    border-bottom: none;
}

/* Feature List */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid #3498db;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.feature-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-item p {
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.feature-item ul {
    list-style: none;
    padding: 0;
}

.feature-item li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
    color: #555;
}

.feature-item li:last-child {
    border-bottom: none;
}

/* Troubleshooting Grid */
.troubleshooting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.issue-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.issue-card:hover {
    transform: translateY(-3px);
}

.issue-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

.issue-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.issue-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.issue-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.issue-item strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.issue-item p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Support Info */
.support-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.contact-card p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-card ul {
    list-style: none;
    padding: 0;
}

.contact-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-card li:last-child {
    border-bottom: none;
}

.contact-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.contact-details p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .help-container {
        padding: 10px;
    }
    
    .help-title {
        font-size: 2rem;
    }
    
    .help-section {
        padding: 1rem;
    }
    
    .feature-grid,
    .role-comparison,
    .fields-grid,
    .guide-steps,
    .data-management-grid,
    .troubleshooting-grid,
    .support-info {
        grid-template-columns: 1fr;
    }
    
    .step-card,
    .contact-card {
        padding: 1.5rem;
    }
}
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.help-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Typography */

.help-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a3c5e;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.help-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #3b82f6;
    border-radius: 2px;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 1rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Role Comparison */
.role-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.role-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.role-card:hover {
    transform: translateY(-5px);
}

.role-card ul {
    list-style: none;
}

.role-card li {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.role-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

/* Fields Grid */
.fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.field-category {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.field-item {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.field-item.required strong::after {
    content: '*';
    color: #e53e3e;
    margin-left: 0.25rem;
}

.field-item.optional strong::after {
    content: '(Optional)';
    font-size: 0.85rem;
    color: #718096;
    margin-left: 0.25rem;
    font-weight: normal;
}

/* Guide Steps */
.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-card ol {
    list-style: decimal;
    padding-left: 1.5rem;
}

.step-card li {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

/* Data Management */
.data-management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.management-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.management-card:hover {
    transform: translateY(-5px);
}

.management-card ul {
    list-style: none;
}

.management-card li {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.management-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

/* Feature List */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.feature-item ul {
    list-style: none;
}

.feature-item li {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

/* Troubleshooting */
.troubleshooting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.issue-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.issue-item {
    margin-bottom: 1rem;
}

.issue-item strong {
    color: #2d3748;
}

/* Support Info */
.support-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.contact-details p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .help-container {
        padding: 1rem;
        margin: 1rem;
    }

    .help-title {
        font-size: 2rem;
    }

    .help-section h2 {
        font-size: 1.5rem;
    }

    .feature-grid,
    .role-comparison,
    .fields-grid,
    .guide-steps,
    .data-management-grid,
    .feature-list,
    .troubleshooting-grid,
    .support-info {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.help-section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Edit Newspaper Modal Styles */
.edit-newspaper-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

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

.edit-newspaper-modal-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.edit-newspaper-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edit-newspaper-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.edit-newspaper-modal-close {
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    color: white;
    line-height: 1;
}

.edit-newspaper-modal-close:hover {
    transform: rotate(90deg);
}

.edit-newspaper-modal-body {
    padding: 2rem;
}

.edit-newspaper-modal-body label {
    display: block;
    margin-bottom: 0.75rem;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1rem;
}

.edit-newspaper-modal-body input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.edit-newspaper-modal-body input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.edit-newspaper-modal-footer {
    padding: 1.5rem 2rem;
    background: #f8fafc;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    border-top: 1px solid #e2e8f0;
}

.btn-cancel {
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.btn-save {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-save:active {
    transform: translateY(0);
}

/* Highlight edited row */
.edited-highlight {
    background-color: #fff9e6 !important;
    border-left: 4px solid #ffa500 !important;
    animation: highlightPulse 2s ease-in-out;
}

@keyframes highlightPulse {
    0%, 100% {
        background-color: #fff9e6;
    }
    50% {
        background-color: #fff4cc;
    }
}

.edited-highlight td {
    background-color: transparent !important;
}