/* ===== ADMIN PANEL STYLES ===== */

/* Admin Layout */
.admin-container {
    min-height: 100vh;
    background: #f8f9fa;
}

.admin-sidebar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    z-index: 1000;
    box-shadow: 2px 0 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.admin-main {
    margin-left: 250px;
    padding: 30px;
    transition: all 0.3s ease;
}

/* Sidebar Header */
.sidebar-header {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.sidebar-header h4 {
    margin: 0;
    font-weight: 700;
    font-size: 1.3rem;
}

.admin-welcome {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

.admin-welcome small {
    opacity: 0.8;
    font-size: 0.85rem;
}

.admin-welcome .fw-bold {
    font-size: 1rem;
    margin-top: 5px;
}

/* Sidebar Navigation */
.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 15px 25px;
    margin: 5px 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.sidebar-nav .nav-link:hover {
    background: rgba(255,255,255,0.15);
    color: white;
    transform: translateX(5px);
}

.sidebar-nav .nav-link.active {
    background: rgba(255,255,255,0.2);
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.sidebar-nav .nav-link i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
}

/* Admin Cards */
.admin-card {
    background: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.admin-card-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 20px 25px;
    font-weight: 600;
}

.admin-card-body {
    padding: 25px;
}

/* Statistics Cards */
.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.stat-card.stat-primary {
    border-left-color: #667eea;
}

.stat-card.stat-success {
    border-left-color: #28a745;
}

.stat-card.stat-warning {
    border-left-color: #ffc107;
}

.stat-card.stat-danger {
    border-left-color: #dc3545;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.stat-icon.icon-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.stat-icon.icon-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.stat-icon.icon-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
}

.stat-icon.icon-danger {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
    color: white;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #2c3e50;
}

.stat-label {
    color: #6c757d;
    font-weight: 500;
    margin: 0;
}

/* Admin Tables */
.admin-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.admin-table .table {
    margin: 0;
}

.admin-table .table thead th {
    background: #f8f9fa;
    border: none;
    font-weight: 600;
    color: #495057;
    padding: 20px 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table .table tbody tr {
    transition: all 0.3s ease;
}

.admin-table .table tbody tr:hover {
    background: #f8f9fa;
}

.admin-table .table tbody td {
    padding: 15px;
    border-color: #f1f3f4;
    vertical-align: middle;
}

/* Admin Buttons */
.btn-admin {
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-admin:hover {
    transform: translateY(-2px);
}

.btn-admin-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.btn-admin-primary:hover {
    background: linear-gradient(45deg, #764ba2, #667eea);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Admin Forms */
.admin-form .form-control,
.admin-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.admin-form .form-control:focus,
.admin-form .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.admin-form .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

/* Admin Modals */
.admin-modal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.admin-modal .modal-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 15px 15px 0 0;
    border: none;
    padding: 20px 25px;
}

.admin-modal .modal-body {
    padding: 25px;
}

.admin-modal .modal-footer {
    border: none;
    padding: 15px 25px 25px;
}

/* Page Header */
.page-header {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    justify-content: between;
    align-items: center;
}

.page-title {
    margin: 0;
    color: #2c3e50;
    font-weight: 700;
}

.page-title i {
    color: #667eea;
    margin-right: 10px;
}

/* Breadcrumb */
.admin-breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.admin-breadcrumb .breadcrumb-item {
    color: #6c757d;
}

.admin-breadcrumb .breadcrumb-item.active {
    color: #495057;
    font-weight: 600;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 5px;
}

.action-buttons .btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
}

/* Status Indicators */
.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.status-indicator.status-active {
    background: #28a745;
}

.status-indicator.status-pending {
    background: #ffc107;
}

.status-indicator.status-inactive {
    background: #dc3545;
}

/* Loading States */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Dashboard Specific Styles */
.sidebar {
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: white;
}

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

.sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 15px 20px;
    border-radius: 8px;
    margin: 5px 10px;
    transition: all 0.3s ease;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(255,255,255,0.2);
    color: white;
}

.main-content {
    background: #f8f9fa;
    min-height: 100vh;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.bg-primary-gradient {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.bg-success-gradient {
    background: linear-gradient(45deg, #28a745, #20c997);
}

.bg-warning-gradient {
    background: linear-gradient(45deg, #ffc107, #fd7e14);
}

.bg-danger-gradient {
    background: linear-gradient(45deg, #dc3545, #e83e8c);
}

.table-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.table-header {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
}

.badge-status {
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.btn-action {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    margin: 2px;
}

.modal-header {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
}

.navbar-brand {
    font-weight: bold;
}

.user-info {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 15px;
    margin: 20px 10px;
}

/* Detail Pendaftar Styles */
.detail-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 20px;
}

.detail-header {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 20px 25px;
}

.detail-body {
    padding: 25px;
}

.info-row {
    display: flex;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-label {
    width: 200px;
    font-weight: 600;
    color: #495057;
    flex-shrink: 0;
}

.info-value {
    flex: 1;
    color: #212529;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-verified {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.document-preview {
    max-width: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -23px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #667eea;
}

.timeline-content {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.timeline-date {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.timeline-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-desc {
    font-size: 0.9rem;
    color: #6c757d;
}

.timeline-marker {
    position: absolute;
    left: -23px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #dee2e6;
}

/* Print Styles for Kartu Ujian */
@media print {
    .no-print {
        display: none !important;
    }
    body {
        margin: 0;
        padding: 0;
    }
    .kartu-ujian {
        page-break-inside: avoid;
        margin: 0;
        box-shadow: none !important;
    }
}

.kartu-ujian {
    width: 21cm;
    height: 29.7cm;
    background: white;
    margin: 20px auto;
    padding: 2cm;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    position: relative;
}

.header-kartu {
    text-align: center;
    border-bottom: 3px solid #667eea;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.logo-unimed {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
}

.title-kartu {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}

.subtitle-kartu {
    font-size: 1.2rem;
    color: #667eea;
    font-weight: 600;
}

.content-kartu {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.foto-peserta {
    width: 120px;
    height: 160px;
    border: 3px solid #667eea;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.foto-peserta img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-foto {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f8f9fa;
    color: #6c757d;
    font-size: 2rem;
}

.data-peserta {
    flex: 1;
}

.data-row {
    display: flex;
    margin-bottom: 12px;
    align-items: flex-start;
}

.data-label {
    width: 150px;
    font-weight: 600;
    color: #495057;
    flex-shrink: 0;
}

.data-value {
    flex: 1;
    color: #212529;
}

.jadwal-section {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.jadwal-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.jadwal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.jadwal-item {
    text-align: center;
}

.jadwal-item-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.jadwal-item-value {
    font-size: 1.1rem;
    font-weight: bold;
}

.footer-kartu {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 40px;
}

.qr-section {
    text-align: center;
}

.qr-code {
    width: 100px;
    height: 100px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 10px;
}

.ttd-section {
    text-align: center;
    min-width: 200px;
}

.ttd-line {
    border-top: 1px solid #333;
    margin-top: 60px;
    padding-top: 5px;
}

.watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 4rem;
    color: rgba(102, 126, 234, 0.1);
    font-weight: bold;
    z-index: 0;
    pointer-events: none;
}

.content-wrapper {
    position: relative;
    z-index: 1;
}

.nomor-kartu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #667eea;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-print {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    margin: 20px;
}

.btn-print:hover {
    color: white;
    transform: translateY(-2px);
}

/* Responsive Admin */
@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
        width: 280px;
    }
    
    .admin-sidebar.show {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-left: 0;
        padding: 20px 15px;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .stat-card {
        margin-bottom: 20px;
    }
    
    .admin-table {
        font-size: 0.9rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 3px;
    }
}

@media (max-width: 576px) {
    .admin-main {
        padding: 15px 10px;
    }
    
    .admin-card-body {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .admin-container {
        background: #1a1a1a;
    }
    
    .admin-card,
    .stat-card,
    .admin-table,
    .page-header {
        background: #2d2d2d;
        color: #f8f9fa;
    }
    
    .admin-table .table thead th {
        background: #3d3d3d;
        color: #f8f9fa;
    }
    
    .admin-table .table tbody tr:hover {
        background: #3d3d3d;
    }
    
    .form-control,
    .form-select {
        background: #3d3d3d;
        border-color: #4d4d4d;
        color: #f8f9fa;
    }
    
    .form-control:focus,
    .form-select:focus {
        background: #3d3d3d;
        border-color: #667eea;
        color: #f8f9fa;
    }
}

/* ===== LOGIN PAGE STYLES ===== */
.back-link {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.back-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    overflow: hidden;
    margin-top: 5vh;
    min-height: 600px;
    backdrop-filter: blur(10px);
}

.login-left {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff08" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.login-left > div {
    position: relative;
    z-index: 2;
    text-align: center;
}

.logo {
    font-size: 4rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.welcome-text {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-left p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 40px;
}

.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-list li {
    padding: 12px 0;
    font-size: 1rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    opacity: 1;
    transform: translateX(10px);
}

.feature-list li i {
    width: 25px;
    margin-right: 15px;
    color: rgba(255,255,255,0.8);
}

/* University Building Image */
.university-image {
    text-align: center;
    margin: 25px 0;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}

.building-illustration {
    width: 100%;
    max-width: 280px;
    height: auto;
    opacity: 0.8;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

.building-illustration:hover {
    opacity: 1;
    transform: scale(1.02);
}

/* Admin Info Box */
.admin-info-box {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 30px 20px;
    margin-top: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.info-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    font-size: 1rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.info-item:hover {
    opacity: 1;
    transform: translateX(5px);
}

.info-item i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    margin-right: 15px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
}

.info-item span {
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

.login-right {
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.login-right h3 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 40px;
}

.form-floating {
    position: relative;
}

.form-floating .form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px 15px 10px 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-floating .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
    background: white;
}

.form-floating label {
    padding-left: 50px;
    color: #6c757d;
    font-weight: 500;
}

.form-floating label i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    z-index: 3;
}

.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.btn-login:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

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

.alert-danger {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border: none;
    color: white;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

/* Responsive Login */
@media (max-width: 992px) {
    .login-left {
        padding: 40px 30px;
        text-align: center;
    }
    
    .welcome-text {
        font-size: 2rem;
    }
    
    .logo {
        font-size: 3rem;
    }
    
    .feature-list {
        text-align: center;
    }
    
    .feature-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .login-container {
        margin: 20px;
        margin-top: 80px;
    }
    
    .login-left,
    .login-right {
        padding: 40px 30px;
    }
    
    .back-link {
        position: absolute;
        top: 10px;
        left: 10px;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Print Styles for Admin */
@media print {
    .admin-sidebar,
    .no-print {
        display: none !important;
    }
    
    .admin-main {
        margin-left: 0;
        padding: 0;
    }
    
    .admin-card,
    .stat-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .page-header {
        border-bottom: 2px solid #333;
        margin-bottom: 20px;
    }
}