/* Import shared base styles */
@import url('/api/shared-base.css');

/* Member Portal Specific Styles */
.header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    text-align: right;
}

.header-links {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
    transition: var(--transition);
    padding: 3px 5px;
    border-radius: 3px;
}

.header-links .separator {
    color: var(--white);
    margin-left: 15px;
    font-size: 14px;
    opacity: 0.7;
}

.header-links .welcome-text {
    color: var(--white);
    margin-left: 15px;
    font-size: 14px;
    font-weight: 500;
}

.header-links .logout-btn {
    color: var(--white);
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
    transition: var(--transition);
    padding: 3px 5px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.1);
}

.header-links .logout-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.header-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo img {
    height: 70px;
    margin-right: 15px;
    transition: var(--transition);
}

.logo-text {
    font-size: 22px;
    font-weight: bold;
    color: var(--text-color);
}

.nav-links {
    display: flex;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(188, 58, 58, 0.3), rgba(163, 47, 47, 0.3)), url('/api/RegistrationPage/images/banner.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: var(--white);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Content Area */
.content {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Welcome Card */


/* Tabs */
.tabs-container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.tabs {
    display: flex;
    background-color: var(--light-gray);
    border-bottom: 1px solid var(--border-color);
}

.tab {
    flex: 1;
    padding: 15px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background-color: transparent;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--light-text);
}

.tab.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.tab:hover:not(.active) {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.tab-content {
    display: none;
    padding: 30px;
}

.tab-content.active {
    display: block;
}

/* Dashboard Grid */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

/* Card Styles */
.card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 25px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.card-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 24px;
    flex-shrink: 0;
}

.card h2 {
    color: var(--primary-color);
    font-size: 20px;
    margin: 0;
    line-height: 1.2;
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.card-content li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--light-text);
}

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

.card-footer {
    margin-top: auto;
    padding-top: 15px;
}

.card-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.card-link:hover {
    text-decoration: underline;
}

/* Special Card Styles */
.constitutional-reform-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.constitutional-reform-card .card-header {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    padding: 20px;
    margin: -10px -10px 15px -10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.constitutional-reform-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

.constitutional-reform-card .card-icon {
    color: #ffffff !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 1), 1px 1px 4px rgba(0, 0, 0, 1);
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 1));
}

.constitutional-reform-card h2 {
    color: #ffffff !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 1), 1px 1px 4px rgba(0, 0, 0, 1), 0px 0px 2px rgba(0, 0, 0, 1);
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.4rem;
}

.constitutional-reform-card .card-content li {
    color: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.constitutional-reform-card .card-link {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: var(--border-radius);
    display: inline-block;
    transition: var(--transition);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}

.constitutional-reform-card .card-link:hover {
    background: rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

.new-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffd700;
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.coming-soon {
    opacity: 0.7;
    position: relative;
}

.coming-soon::after {
    content: 'COMING SOON';
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--warning-color);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Tribal Pattern */
.tribal-pattern {
    height: 100px;
    background: repeating-linear-gradient(
        45deg,
        var(--primary-color),
        var(--primary-color) 10px,
        var(--primary-dark) 10px,
        var(--primary-dark) 20px
    );
    opacity: 0.1;
    margin: 50px 0;
}

/* Constitutional Reform Modal */
.constitutional-reform-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.constitutional-reform-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
}

.constitutional-reform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.constitutional-reform-header h2 {
    margin: 0;
    color: var(--white);
}

.close-constitutional-reform {
    font-size: 28px;
    cursor: pointer;
    color: var(--white);
    transition: var(--transition);
}

.close-constitutional-reform:hover {
    color: var(--primary-light);
}

.constitutional-reform-body {
    padding: 30px;
}

/* Modal Tabs */
.constitutional-reform-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.constitutional-reform-tab {
    flex: 1;
    padding: 15px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background-color: transparent;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--light-text);
}

.constitutional-reform-tab.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.constitutional-reform-tab:hover:not(.active) {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.constitutional-reform-tab-content {
    display: none;
}

.constitutional-reform-tab-content.active {
    display: block;
}

/* Document Grid */
.document-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.document-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
}

.document-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.document-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.document-card p {
    color: var(--light-text);
    margin-bottom: 15px;
    line-height: 1.5;
}

.document-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.document-link:hover {
    background-color: var(--primary-dark);
    text-decoration: none;
    color: var(--white);
}

/* Meeting List */
.meeting-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.meeting-item {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.meeting-item:hover {
    background-color: var(--primary-light);
    transform: translateX(5px);
}

.meeting-date {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}

.meeting-title {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.meeting-details {
    color: var(--light-text);
    font-size: 14px;
    line-height: 1.4;
}

/* Timeline */
.timeline-container {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 30px;
}

.timeline-header {
    text-align: center;
    margin-bottom: 30px;
}

.timeline-header h4 {
    color: var(--primary-color);
    margin: 0;
    font-size: 24px;
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-phase {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    border-left: 4px solid var(--border-color);
    transition: var(--transition);
}

.timeline-phase:hover {
    border-left-color: var(--primary-color);
    transform: translateX(5px);
}

.phase-current {
    border-left-color: var(--primary-color);
    background-color: var(--primary-light);
}

.phase-survey {
    border-left-color: var(--info-color);
}

.phase-education {
    border-left-color: var(--success-color);
}

.phase-advisory {
    border-left-color: var(--warning-color);
}

.phase-development {
    border-left-color: var(--accent-color);
}

.phase-election {
    border-left-color: var(--secondary-color);
}

.timeline-phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.timeline-phase-title {
    color: var(--primary-color);
    margin: 0;
    font-size: 18px;
}

.timeline-phase-dates {
    color: var(--light-text);
    font-size: 14px;
    font-weight: 500;
}

.timeline-phase-description {
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.5;
}

.timeline-events {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.timeline-event {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 8px 12px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-event-date {
    color: var(--primary-color);
    font-weight: bold;
}

.timeline-event-title {
    color: var(--text-color);
}

/* Calendar */
.calendar-container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.calendar-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--light-gray);
    border-bottom: 1px solid var(--border-color);
}

.calendar-nav button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.calendar-nav button:hover {
    background-color: var(--primary-dark);
}

.goto-today-btn {
    background-color: var(--success-color) !important;
}

.goto-today-btn:hover {
    background-color: #219a52 !important;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: var(--border-color);
    padding: 1px;
}

.calendar-day-header {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

.calendar-day {
    background-color: var(--white);
    min-height: 80px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.calendar-day:hover {
    background-color: var(--light-gray);
}

.calendar-day.other-month {
    background-color: var(--light-gray);
    color: var(--light-text);
}

.calendar-day.today {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
}

.calendar-day.important-date {
    background-color: var(--primary-light);
    border-left: 4px solid var(--primary-color);
}

.calendar-event {
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 3px;
    margin-top: 2px;
    font-weight: bold;
    text-align: center;
}

.calendar-event.meeting {
    background-color: var(--accent-color);
    color: var(--white);
}

.calendar-event.election {
    background-color: #6f42c1;
    color: var(--white);
}

.calendar-event.milestone {
    background-color: var(--success-color);
    color: var(--white);
}

.calendar-event.deadline {
    background-color: #fd7e14;
    color: var(--white);
}

/* Footer */
.footer {
    background-color: #222;
    color: var(--white);
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-bottom {
    font-size: 14px;
    color: #ccc;
}

/* Notification System Styles */
.notifications-container {
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    border-left: 4px solid #C75450;
}

.notifications-header {
    background: linear-gradient(135deg, #C75450, #8B4513);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notifications-header h3 {
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notifications-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
    transition: background-color 0.2s;
}

.notifications-toggle:hover {
    background-color: rgba(255,255,255,0.2);
}

.notifications-list {
    padding: 0;
}

.notification-item {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

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

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item.urgent {
    border-left: 4px solid #dc3545;
    background-color: #fff5f5;
}

.notification-item.info {
    border-left: 4px solid #17a2b8;
    background-color: #f0f8ff;
}

.notification-item.success {
    border-left: 4px solid #28a745;
    background-color: #f0fff0;
}

.notification-item.warning {
    border-left: 4px solid #ffc107;
    background-color: #fffdf5;
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification-alert-layout {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.notification-alert-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notification-date-block {
    width: 60px;
    height: 60px;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-month {
    font-size: 0.75rem;
    font-weight: 600;
    color: #d97706;
    text-transform: uppercase;
    line-height: 1;
}

.notification-day {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
    line-height: 1;
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.notification-header h4 {
    margin: 0;
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.notification-header i {
    color: #C75450;
    font-size: 1.2rem;
}

.notification-item.urgent .notification-header i {
    color: #dc3545;
}

.notification-item.info .notification-header i {
    color: #17a2b8;
}

.notification-item.success .notification-header i {
    color: #28a745;
}

.notification-item.warning .notification-header i {
    color: #ffc107;
}

.notification-content p {
    margin: 0;
    color: #4b5563;
    line-height: 1.5;
    font-size: 0.95rem;
}

.notification-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.action-btn {
    background: #C75450;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.action-btn:hover {
    background: #8B4513;
}

.priority-badge {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.priority-high {
    background: #dc2626;
    color: white;
}

.priority-medium {
    background: #f59e0b;
    color: white;
}

.priority-low {
    background: #059669;
    color: white;
}

/* Responsive design for notifications */
@media (max-width: 768px) {
    .notifications-container {
        margin: 10px;
        border-radius: 6px;
    }
    
    .notifications-header {
        padding: 12px 15px;
    }
    
    .notifications-header h3 {
        font-size: 1.1rem;
    }
    
    .notification-item {
        padding: 12px 15px;
    }
    
    .notification-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .notification-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        text-align: center;
    }
}

/* Two Column Dashboard Layout */
.dashboard-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Departments Section - Left Column */
.departments-section {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}

.departments-header {
    background-color: #C75450;
    color: white;
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
}

.departments-header h3 {
    font-size: 1.3rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.departments-list {
    background: white;
}

.department-item {
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

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

.department-item:hover {
    background-color: #f8f9fa;
}

.department-header {
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.2s;
}

.department-header:hover {
    background-color: #f8f9fa;
}

.department-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.department-title h4 {
    color: #C75450;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.department-icon {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

.department-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-count {
    background: #e9ecef;
    color: #495057;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.expand-arrow {
    color: #666;
    font-size: 1.2rem;
    transform: rotate(0deg);
    transition: transform 0.2s;
}

.department-item.expanded .expand-arrow {
    transform: rotate(90deg);
}

.department-services {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fafafa;
}

.department-item.expanded .department-services {
    max-height: 300px;
}

.services-list {
    padding: 0 20px 16px 56px;
    list-style: none;
}

.services-list li {
    padding: 8px 0;
    color: #666;
    font-size: 0.95rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s;
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list li:hover {
    color: #C75450;
}

.service-status {
    font-size: 0.75rem;
    color: #888;
}

.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: 10px;
}

.important {
    background: #ff6b6b;
    color: white;
}

/* Notification Area - Right Column */
.notification-area {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0;
    min-height: 500px;
    position: sticky;
    top: 20px;
}

.notification-header {
    background-color: white;
    color: #333;
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
}

.notification-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-list {
    padding: 0;
}

.notification-item {
    margin: 12px 0;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background-color: #fef2f2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.notification-item:last-child {
    margin-bottom: 0;
}

.notification-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.notification-item.clickable {
    cursor: pointer;
    transition: all 0.2s ease;
}

.notification-item.clickable:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.notification-item.urgent {
    border-left: 6px solid #dc2626;
    background-color: #fef2f2;
}

.notification-item.info {
    border-left: 6px solid #3b82f6;
    background-color: #eff6ff;
}

.notification-item.success {
    border-left: 6px solid #059669;
    background-color: #f0fdf4;
}

.notification-item.warning {
    border-left: 6px solid #d97706;
    background-color: #fffbeb;
}

.notification-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification-header {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.notification-header h4 {
    margin: 0;
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
    flex: 1;
    line-height: 1.3;
}

.notification-header i {
    color: #dc2626;
    font-size: 1.4rem;
}

.notification-item.urgent .notification-header i {
    color: #dc3545;
}

.notification-item.info .notification-header i {
    color: #17a2b8;
}

.notification-item.success .notification-header i {
    color: #28a745;
}

.notification-item.warning .notification-header i {
    color: #ffc107;
}

.notification-content p {
    margin: 0;
    color: #4b5563;
    line-height: 1.5;
    font-size: 0.95rem;
}

.notification-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.action-btn {
    background: #C75450;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.action-btn:hover {
    background: #8B4513;
}

.priority-badge {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.priority-high {
    background: #dc2626;
    color: white;
}

.priority-medium {
    background: #f59e0b;
    color: white;
}

.priority-low {
    background: #059669;
    color: white;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: #666;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #C75450;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Responsive design for the new layout */
@media (max-width: 768px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .departments-section,
    .notification-area {
        margin: 0 10px;
        border-radius: 6px;
    }
    
    .department-header {
        padding: 12px 15px;
    }
    
    .department-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .department-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .services-list {
        padding: 0 15px 12px 40px;
    }
    
    .notification-item {
        padding: 12px 15px;
    }
    
    .notification-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .notification-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        text-align: center;
    }
}