/* ============================================
   Enhanced Layout Styles for JB ILP Service
   Modern Design System Update
   ============================================ */

/* Modern Design System Variables */
:root {
    --modern-primary: #0f4c5c;
    --modern-secondary: #1a5f6e;
    --modern-accent: #64b5f6;
    --modern-success: #4caf50;
    --modern-warning: #ff9800;
    --modern-danger: #f44336;
    --modern-info: #2196f3;
    --modern-light: #f8f9fa;
    --modern-dark: #212529;
    --modern-border: rgba(0, 0, 0, 0.08);
    --modern-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --modern-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --modern-radius: 12px;
    --modern-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --modern-gradient: linear-gradient(135deg, var(--modern-primary) 0%, var(--modern-secondary) 50%, #256b7a 100%);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

/* Modern Header Enhancements */
.modern-header {
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-brand {
    position: relative;
    overflow: hidden;
}

.brand-icon-animated {
    transition: var(--modern-transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.modern-brand:hover .brand-icon-animated {
    transform: rotate(10deg) scale(1.1);
    color: #81c784 !important;
}

/* Enhanced Header */
.enhanced-header {
    background: linear-gradient(135deg, #0f4c5c 0%, #1a5f6e 50%, #256b7a 100%);
    box-shadow: 0 2px 20px rgba(15, 76, 92, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: all 0.3s ease;
}

.enhanced-header.scrolled {
    background: linear-gradient(135deg, #0a3a47 0%, #154f5b 50%, #1f5c6b 100%);
    box-shadow: 0 4px 25px rgba(15, 76, 92, 0.4);
}

/* Navbar Styling */
.enhanced-header .navbar {
    padding: 0.75rem 0;
    min-height: 70px;
}

.enhanced-header .navbar-brand {
    text-decoration: none;
    color: white !important;
    transition: all 0.3s ease;
}

.enhanced-header .navbar-brand:hover {
    transform: translateY(-2px);
}

/* Brand Section */
.brand-section {
    display: flex;
    align-items: center;
}

.brand-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    font-size: 2.2rem;
    color: #64b5f6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.brand-subtitle {
    font-size: 0.85rem;
    color: #b3e5fc;
    font-weight: 400;
    margin-top: -2px;
}

/* Navigation Links */
.enhanced-header .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.enhanced-header .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.enhanced-header .navbar-nav .nav-link:hover::before {
    left: 100%;
}

.enhanced-header .navbar-nav .nav-link:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.enhanced-header .navbar-nav .nav-link i {
    margin-right: 6px;
    font-size: 1.1rem;
}

/* Dropdown Menus */
.enhanced-header .dropdown-menu {
    background: white;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 1rem 0;
    margin-top: 8px;
    min-width: 280px;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.enhanced-header .dropdown-header {
    padding: 0.75rem 1.5rem 0.5rem;
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0.5rem;
}

.enhanced-header .dropdown-header i {
    margin-right: 8px;
    font-size: 1rem;
}

.enhanced-header .dropdown-item {
    padding: 0.75rem 1.5rem;
    color: #495057;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.enhanced-header .dropdown-item i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
    color: #6c757d;
}

.enhanced-header .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0f4c5c;
    border-left-color: #0f4c5c;
    transform: translateX(5px);
}

.enhanced-header .dropdown-divider {
    margin: 0.75rem 0;
    border-color: #e9ecef;
}

/* Mobile Toggle */
.enhanced-header .navbar-toggler {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
}

.enhanced-header .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
}

.enhanced-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Right Side Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

/* Quick Search */
.quick-search {
    display: flex;
    align-items: center;
}

.quick-search .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 20px 0 0 20px;
    border-right: none;
    width: 200px;
    transition: all 0.3s ease;
}

.quick-search .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.quick-search .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
    color: white;
}

.quick-search .btn {
    border-radius: 0 20px 20px 0;
    border-left: none;
    padding: 0.375rem 0.75rem;
}

/* Notification Button */
.notification-wrapper {
    position: relative;
}

.notification-btn {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.notification-btn:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.notification-badge,
.notification-counter {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ff4757, #ff3838);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Admin Quick Access */
.admin-quick-access {
    position: relative;
}

.admin-btn {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.admin-btn:hover {
    color: white;
    background-color: rgba(255, 193, 7, 0.3);
    transform: scale(1.05);
}

.admin-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #ffc107, #ffb300);
    color: #212529;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-profile:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    color: white;
}

.user-avatar {
    font-size: 1.8rem;
    color: #b3e5fc;
}

.user-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.user-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.user-menu .dropdown-menu {
    min-width: 250px;
    right: 0;
    left: auto;
}

.user-menu .dropdown-header {
    background-color: #f8f9fa;
    margin-bottom: 0.5rem;
}

.user-detail {
    text-align: center;
    padding: 0.5rem 0;
}

/* Auth Actions */
.auth-actions {
    display: flex;
    gap: 0.5rem;
}

.auth-actions .btn {
    border-radius: 20px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-actions .btn-outline-light:hover {
    background-color: white;
    color: #0f4c5c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.auth-actions .btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Modern Page Header Styles */
.modern-page-header {
    position: relative;
    overflow: hidden;
}

.page-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-header-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--modern-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-header-text {
    flex: 1;
}

.modern-page-title {
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modern-breadcrumb {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-actions {
    display: flex;
    gap: 0.5rem;
}

.page-action-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: var(--modern-transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.page-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Modern Content Areas */
.modern-content-wrapper {
    background: white;
    border-radius: var(--modern-radius);
    box-shadow: var(--modern-shadow);
    border: 1px solid var(--modern-border);
    margin: 1.5rem 0;
    overflow: hidden;
    /*  display: flex;
    align-items: center; */
}

.modern-content-main {
    padding: 0.1rem;
    width:100%;
}

.content-container {
    position: relative;
}

.modern-notification-area {
    position: sticky;
    top: 1rem;
    z-index: 1040;
}

/* Main Content */
    .main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    padding-top: 2rem;
}

/* Enhanced Notification Area */
.notification-area {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 1050;
    max-width: 400px;
}

.modern-notification-area {
    position: relative;
    top: auto;
    right: auto;
    margin-bottom: 1rem;
}

.modern-notification-area .alert {
    border-radius: var(--modern-radius);
    border: none;
    box-shadow: var(--modern-shadow);
    backdrop-filter: blur(10px);
}

/* Enhanced Footer */
.enhanced-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #3d566e 100%);
    color: white;
    margin-top: 4rem;
}

.footer-content {
    padding: 3rem 0 1rem;
}

.footer-brand h5 {
    color: #64b5f6;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #bdc3c7;
    margin-bottom: 0;
}

.footer-links h6,
.footer-contact h6 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #64b5f6;
    transform: translateX(5px);
}

.footer-contact p {
    color: #bdc3c7;
    margin-bottom: 0.5rem;
}

.footer-contact i {
    color: #64b5f6;
    width: 20px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1rem;
}

.footer-bottom p {
    color: #95a5a6;
    margin: 0;
}

.footer-policy {
    color: #bdc3c7;
    text-decoration: none;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.footer-policy:hover {
    color: #64b5f6;
}

.btn-top {
    background: linear-gradient(135deg, #64b5f6, #42a5f5);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    margin-left: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-top:hover {
    background: linear-gradient(135deg, #42a5f5, #2196f3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 165, 245, 0.4);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar-actions {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
        width: 100%;
    }
    
    .quick-search {
        width: 100%;
    }
    
    .quick-search .form-control {
        width: 100%;
        border-radius: 20px 0 0 20px;
    }
    
    .auth-actions {
        justify-content: center;
        width: 100%;
    }
    
    .user-profile {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .brand-content {
        gap: 8px;
    }
    
    .brand-icon {
        font-size: 1.8rem;
    }
    
    .brand-name {
        font-size: 1.4rem;
    }
    
    .brand-subtitle {
        font-size: 0.75rem;
    }
    
    .enhanced-header .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem !important;
    }
    
    .main-content {
        padding-top: 1rem;
    }
    
    .footer-content {
        padding: 2rem 0 1rem;
    }
}

@media (max-width: 575.98px) {
    .quick-search .form-control {
        font-size: 0.9rem;
    }
    
    .notification-btn,
    .admin-btn {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .user-info {
        display: none;
    }
    
    .enhanced-footer .container {
        padding: 0 1rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .col-md-6:last-child {
        text-align: center !important;
        margin-top: 1rem;
    }
}

/* Additional Animations */
@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.enhanced-header {
    animation: slideInFromTop 0.8s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0f4c5c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Accessibility Improvements */
.enhanced-header .nav-link:focus,
.enhanced-header .dropdown-item:focus,
.enhanced-header .btn:focus {
    outline: 2px solid #64b5f6;
    outline-offset: 2px;
}

/* Mobile-First Approach Refinements */
@media (max-width: 575.98px) {
    /* Extra small devices */
    .enhanced-header .navbar {
        padding: 0.5rem 0;
        min-height: 60px;
    }
    
    .brand-content {
        gap: 6px;
    }
    
    .brand-icon {
        font-size: 1.5rem;
    }
    
    .brand-name {
        font-size: 1.2rem;
    }
    
    .brand-subtitle {
        display: none; /* Hide subtitle on very small screens */
    }
    
    .main-content {
        margin-top: 60px;
        padding-top: 1rem;
    }
    
    /* Mobile dropdown optimizations */
    .enhanced-header .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        box-shadow: none;
        border: none;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 0;
        margin-top: 0;
    }
    
    .enhanced-header .dropdown-item {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .enhanced-header .dropdown-item:last-child {
        border-bottom: none;
    }
    
    /* Mobile navbar actions */
    .navbar-actions {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 1rem;
    }
    
    .quick-search {
        margin-bottom: 1rem;
    }
    
    .auth-actions {
        justify-content: space-between;
        width: 100%;
    }
    
    .auth-actions .btn {
        flex: 1;
        margin: 0 0.25rem;
    }
}

/* Medium devices optimization */
@media (min-width: 768px) and (max-width: 991.98px) {
    .quick-search .form-control {
        width: 160px;
    }
    
    .user-info {
        display: none;
    }
    
    .enhanced-header .dropdown-menu {
        min-width: 240px;
    }
}

/* Large devices optimization */
@media (min-width: 1200px) {
    .enhanced-header .navbar {
        padding: 1rem 0;
    }
    
    .brand-icon {
        font-size: 2.4rem;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .quick-search .form-control {
        width: 250px;
    }
    
    .enhanced-header .dropdown-menu {
        min-width: 320px;
    }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
    .enhanced-header .container-fluid {
        max-width: 1320px;
        margin: 0 auto;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .brand-icon,
    .notification-btn,
    .admin-btn {
        image-rendering: crisp-edges;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .enhanced-header .dropdown-menu {
        background-color: #2c3e50;
        color: #ecf0f1;
    }
    
    .enhanced-header .dropdown-item {
        color: #ecf0f1;
    }
    
    .enhanced-header .dropdown-item:hover {
        background-color: #34495e;
        color: #64b5f6;
    }
    
    .enhanced-header .dropdown-header {
        color: #bdc3c7;
        border-bottom-color: #34495e;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .brand-icon {
        animation: none;
    }
    
    .notification-badge,
    .notification-counter {
        animation: none;
    }
}

/* Focus visible support for better accessibility */
.enhanced-header .nav-link:focus-visible,
.enhanced-header .dropdown-item:focus-visible,
.enhanced-header .btn:focus-visible {
    outline: 3px solid #64b5f6;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Modern Admin Header Styles */
.admin-modern-header {
    background: linear-gradient(135deg, #374151 0%, #4b5563 50%, #6b7280 100%);
    border-bottom: 3px solid #f59e0b;
}

.admin-brand .brand-icon-animated {
    color: #f59e0b !important;
}

.admin-modern-page-header {
    background: linear-gradient(135deg, #374151 0%, #4b5563 50%, #6b7280 100%);
}

.admin-page-header-icon {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.admin-page-header-icon i {
    color: #f59e0b;
}

.admin-modern-breadcrumb {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.modern-admin-quick-stats {
    display: flex;
    gap: 1rem;
}

.modern-stat-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: var(--modern-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--modern-transition);
}

.modern-stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.modern-stat-item .stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    color: #f59e0b;
    font-size: 1.2rem;
}

.admin-modern-content-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid #f59e0b;
}

.admin-content-container {
    position: relative;
}

.admin-modern-notification-area {
    border-left: 4px solid #f59e0b;
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .enhanced-header .nav-link,
    .enhanced-header .dropdown-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .notification-btn,
    .admin-btn {
        width: 44px;
        height: 44px;
    }
    
    .user-profile {
        min-height: 44px;
    }
    
    .page-action-btn {
        width: 44px;
        height: 44px;
    }
}

/* Print Styles */
@media print {
    .enhanced-header,
    .enhanced-footer,
    .notification-area {
        display: none !important;
    }
    
    .main-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* Screen reader only content */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
