/* Layout Styles for Cinnamon POS */

/* CSS Variables */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --warning-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --info-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --sidebar-bg: #1a1a2e;
    --sidebar-hover: rgba(255, 255, 255, 0.1);
    --main-bg: #f8f9fa;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    --border-radius: 12px;
}

/* Global Styles */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--main-bg);
}

/* Layout Structure */
body {
    padding-top: 0; /* Remove padding - header will be positioned beside sidebar */
    margin: 0;
}

/* Fixed Header - positioned to the right of sidebar */
.top-header {
    position: fixed;
    top: 0;
    left: 280px; /* Start after sidebar */
    right: 0;
    height: 70px;
    z-index: 1030;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.top-header .container-fluid {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
}

/* Header Dropdown Styles */
.top-header .dropdown-menu {
    z-index: 1055;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.notification-dropdown,
.todo-dropdown {
    padding: 0;
}

.notification-item,
.todo-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f8f9fa;
}

.notification-item:hover,
.todo-item:hover {
    background-color: #f8f9fa;
}

.notification-item:last-child,
.todo-item:last-child {
    border-bottom: none;
}

/* Sidebar - Full Height from top */
.sidebar {
    position: fixed;
    top: 0; /* Start from top */
    left: 0;
    width: 280px;
    height: 100vh; /* Full viewport height */
    background: var(--sidebar-bg);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1040;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.sidebar-content {
    padding: 0;
}

.sidebar-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Main Content Area - use grid columns instead of large left margins to avoid overflow */
.main-wrapper {
    margin: 0;
    padding: 0;
}

.main-wrapper .row {
    margin-right: 0;
    margin-left: 0;
}

.main-content {
    margin-left: 280px; /* Leave space for sidebar */
    margin-top: 70px; /* Leave space for header */
    min-height: calc(100vh - 70px);
    transition: margin 0.3s ease;
    padding: 2rem;
}

/* Prevent long unbroken text from expanding the layout */
.main-content, .main-content table, .main-content td, .main-content th {
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.content-wrapper {
    padding: 2rem;
    min-height: calc(100vh - 140px); /* Subtract header and footer height */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body {
        padding-top: 0;
    }
    
    .top-header {
        left: 0; /* Full width on mobile */
        height: 60px;
    }
    
    .top-header .container-fluid {
        padding: 0 1rem;
    }
    
    .sidebar {
        top: 0; /* Start from top on mobile */
        left: -280px; /* Hidden by default on mobile */
        height: 100vh; /* Full height */
    }
    
    .sidebar.show {
        left: 0; /* Show sidebar when toggled */
    }
    
    .main-content {
        margin-left: 0; /* No left margin on mobile */
        margin-top: 60px; /* Space for header */
    }
    
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1030;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .overlay.show {
        opacity: 1;
        visibility: visible;
    }
}

/* Sidebar Navigation */
.sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    margin: 0.25rem 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
    display: flex;
    align-items: center;
}

.sidebar .nav-link:hover {
    color: white;
    background-color: var(--sidebar-hover);
    transform: translateX(5px);
}

.sidebar .nav-link.active {
    color: white;
    background: var(--primary-gradient);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
}

/* Sidebar submenu styles */
.sidebar .collapse .nav-link {
    padding-left: 2.5rem;
    font-size: 0.9rem;
}

.sidebar .collapse .nav-link:before {
    content: '';
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin-right: 0.5rem;
}

/* Component Styles */

/* Stat Cards */
.stat-card {
    border: none !important;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-card.card-clickable {
    cursor: pointer;
}

.stat-card.primary {
    background: var(--primary-gradient);
    color: white;
}

.stat-card.success {
    background: var(--success-gradient);
    color: white;
}

.stat-card.warning {
    background: var(--warning-gradient);
    color: white;
}

.stat-card.danger {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: white;
}

.stat-card.info {
    background: var(--info-gradient);
    color: white;
}

.stat-card.secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

/* Data Table Enhancements */
.table-responsive {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.table th {
    border-top: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    background-color: #f8f9fa;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* Chart Areas */
.chart-area {
    position: relative;
    height: 300px;
    width: 100%;
}

.chart-area canvas {
    height: 300px !important;
}

/* Badge Enhancements */
.badge {
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 1.125rem;
    top: 2.5rem;
    width: 2px;
    height: calc(100% - 1rem);
    background-color: #dee2e6;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0.25rem;
    width: 2.25rem;
    height: 2.25rem;
}

.timeline-marker-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #dee2e6;
}

.timeline-content {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1rem;
    border-left: 3px solid var(--bs-primary, #007bff);
    box-shadow: var(--card-shadow);
}

/* Avatar Styles */
.avatar {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 600;
}

.avatar-sm {
    width: 2rem;
    height: 2rem;
}

/* Utility Classes */
.bg-primary-subtle {
    background-color: rgba(13, 110, 253, 0.1);
}

.bg-success-subtle {
    background-color: rgba(25, 135, 84, 0.1);
}

.bg-warning-subtle {
    background-color: rgba(255, 193, 7, 0.1);
}

.bg-danger-subtle {
    background-color: rgba(220, 53, 69, 0.1);
}

.bg-info-subtle {
    background-color: rgba(13, 202, 240, 0.1);
}

/* Search Filter Styles */
.search-filter {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

/* Alert Enhancements */
.alert {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

/* Button Enhancements */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.btn-warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.btn-info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    background: transparent;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.btn-group-sm > .btn,
.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 0.375rem;
}

/* Modern Card Styling */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    background: white;
}

.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Floating QR Button */
.qr-scan-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none !important;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none !important;
    color: white !important;
}

.qr-scan-btn:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%) !important;
    color: white !important;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(102, 126, 234, 0); }
    100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0); }
}

@media (max-width: 768px) {
    .position-fixed .qr-scan-btn { width: 50px !important; height: 50px !important; }
}

/* Financial Alert Badge Animation */
.financial-alert-badge {
    animation: alertPulse 2s infinite !important;
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%) !important;
    box-shadow: 0 0 0 rgba(220, 53, 69, 0.5);
}

@keyframes alertPulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    50% { box-shadow: 0 0 0 4px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

/* Notification Bell Shake Animation */
.btn:has(.financial-alert-badge) .fa-bell { animation: bellShake 3s infinite; }

@keyframes bellShake {
    0%, 90%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

/* Notification Dropdown Improvements */
.notification-dropdown { border: none !important; box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important; border-radius: 10px !important; }
.notification-item:hover { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important; }
.notification-menu { width: 320px; }
.notification-list { max-height: 300px; overflow-y: auto; }
.notification-icon { width: 40px; height: 40px; }

/* Header button and badge */
.top-header .btn-link { text-decoration: none !important; color: #495057 !important; padding: 0.5rem 0.75rem !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; position: relative !important; min-width: 44px !important; min-height: 44px !important; }
.top-header .btn-link:hover { color: #212529 !important; background-color: rgba(0, 0, 0, 0.05) !important; border-radius: 50% !important; }
.top-header .btn-link:focus { box-shadow: none !important; }
.top-header .btn-link i { font-size: 1.25rem !important; color: inherit !important; }
.top-header .btn-link .badge { position: absolute !important; top: 2px !important; right: 2px !important; font-size: 0.65rem !important; padding: 0.25em 0.5em !important; min-width: 18px !important; height: 18px !important; display: flex !important; align-items: center !important; justify-content: center !important; z-index: 1 !important; }
.top-header .btn-link .badge.financial-alert-badge { transform: none !important; }

/* Dark Header/Footer overrides */
.navbar.top-header { background-color: #2c3e50 !important; border-bottom: 1px solid #1a252f !important; }
.top-header .page-title h5 { color: #ecf0f1 !important; }
.top-header .btn-link { color: #ecf0f1 !important; }
.top-header .btn-link:hover { color: #ffffff !important; background-color: rgba(255, 255, 255, 0.1) !important; }
.top-header .hamburger-menu { color: #ecf0f1 !important; }
.top-header .hamburger-menu:hover { color: #ffffff !important; }
.footer { background-color: #2c3e50 !important; border-top: 1px solid #1a252f !important; color: #ecf0f1 !important; }
.footer small, .footer strong, .footer a { color: #bdc3c7 !important; }
.footer a:hover { color: #ffffff !important; }

/* Todo dropdown */
.todo-menu { width: 300px; }
.todo-list { max-height: 280px; overflow-y: auto; }

/* Avatar sizes */
.avatar-35 { width: 35px; height: 35px; }

/* Floating QR container/button */
.qr-container { position: fixed; bottom: 20px; right: 20px; z-index: 1050; }
.qr-btn-60 { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }

.card-header {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px 16px 0 0 !important;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.025em;
}

.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sidebar-logo{
    height: 120px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
/* Modern Form Elements */
.form-control,
.form-select {
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Enhanced Gradients */
.gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.gradient-warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.gradient-info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Animated Elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Modern Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Header Styles */
.top-header {
    border-bottom: 1px solid #e3e6f0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1050;
    height: 70px;
}

/* Sidebar Styles */
.sidebar {
    background: var(--sidebar-bg);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-height: calc(100vh - 70px);
    position: fixed;
    top: 0px;
    left: 0;
    z-index: 1040;
}

.main-content {
    padding: 2rem;
    margin-left: 0;
}

/* Desktop Layout */
/* On larger screens the layout is controlled by the Blade markup using columns
   (sidebar uses col-md-3 col-lg-2, main uses col-md-9 col-lg-10). Avoid double
   applying margins in CSS which can cause horizontal overflow. */

.search-box .form-control {
    border-radius: 20px;
    padding: 0.5rem 1rem;
}

.search-box .input-group-text {
    border-radius: 20px 0 0 20px;
}

.notification-dropdown,
.todo-dropdown {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
}

.notification-item,
.todo-item {
    padding: 1rem;
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s;
}

.notification-item:hover,
.todo-item:hover {
    background-color: #f8f9fa;
}

.notification-item:last-child,
.todo-item:last-child {
    border-bottom: none;
}

.notification-icon {
    flex-shrink: 0;
}

.user-avatar {
    font-size: 0.875rem;
    font-weight: 600;
}

.dropdown-header {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    margin: 0;
    border-bottom: 1px solid #e9ecef;
}

.dropdown-footer {
    background-color: #f8f9fa;
    padding: 0.5rem;
    margin: 0;
}

.todo-item .form-check {
    display: flex;
    align-items: center;
    width: 100%;
}

.todo-item .form-check-label {
    margin-left: 0.5rem;
    cursor: pointer;
}

/* Mobile Header Styles - using Bootstrap btn classes */

/* Page Title Styles */
.page-title {
    flex: 1;
    text-align: center;
}

/* Mobile Sidebar Overlay */
@media (max-width: 767px) {
    .sidebar {
        position: fixed !important;
        top: 70px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        transition: left 0.3s ease;
        z-index: 1045;
    }
    
    .sidebar.show {
        left: 0;
    }
    
    .main-content {
        margin-left: 0 !important;
        padding: 0px !important;
        margin-top: 0px !important;
    }
    
    .overlay {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1044;
        display: none;
    }
    
    .overlay.show {
        display: block;
    }
}

/* Dropdown Improvements */
.dropdown-menu {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-toggle::after {
    margin-left: 0.5em;
}

/* Header Icons */
.top-header .btn-link {
    border: none;
    padding: 0.5rem;
    border-radius: 50px;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
}

.top-header .btn-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.top-header .btn-link:focus {
    box-shadow: none;
    outline: none;
}

/* Notification badge positioning */
.top-header .position-relative {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.top-header .badge {
    pointer-events: none;
}

/* Brand Logo */
.navbar-brand {
    font-size: 1.25rem;
    margin-right: 2rem;
}

.navbar-brand i {
    font-size: 1.5rem;
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
}

/* Main Content Styles */
.main-content {
    background-color: var(--main-bg);
    min-height: 100vh;
    padding: 2rem;
}

/* Table responsive tweaks to avoid forcing full-width beyond container */
.table-responsive {
    overflow-x: auto;
}

/* Limit width for reason column in leave requests table (keeps layout intact) */
.table td.text-truncate {
    max-width: 200px;
}

/* Card Styles */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-card {
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius);
}

.stat-card.success {
    background: var(--success-gradient);
}

.stat-card.warning {
    background: var(--warning-gradient);
}

.stat-card.info {
    background: var(--info-gradient);
}

/* Navigation Styles */
.top-navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    padding: 0.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.hamburger-menu:hover {
    color: #495057;
}

.hamburger-menu:focus {
    outline: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding: 1rem;
    }
}

/* Footer Styles */
.footer {
    /* Do not shift footer with a fixed margin; align with main content using container padding */
    margin-left: 0;
    background: #2c3e50;
    border-top: 1px solid #1a252f;
    padding: 1rem 2rem;
    margin-top: auto;
    color: #ecf0f1;
}

.footer-auth {
    background: #1a1a2e;
    border-top: 1px solid #dee2e6;
    padding: 1rem 0;
    margin-top: auto;
}

@media (max-width: 768px) {
    .footer {
        margin-left: 0;
        padding: 1rem;
    }
}

/* Button Styles */
.btn-modern {
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-modern:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


/* Table Styles */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table thead th {
    background: var(--primary-gradient);
    color: white;
    border: none;
    font-weight: 600;
}

/* Breadcrumb Styles */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: #667eea;
}

/* Alert Styles */
.alert {
    border-radius: var(--border-radius);
    border: none;
}

/* Dropdown Styles */
.dropdown-menu {
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: none;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--primary-gradient);
    color: white;
}

/* Footer Styles */
.footer {
    background: white;
    border-top: 1px solid #e9ecef;
    padding: 1.5rem 0;
    margin-top: auto;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.footer-auth {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background:#1a1a2e;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    z-index: 10;
}

.footer-auth .container {
    max-width: 1200px;
}

.footer small {
    font-size: 0.85rem;
    color: #bdc3c7;
}

.footer strong {
    color: #ecf0f1;
}

.footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: #ffffff;
}
