/* Admin Dashboard Styles */

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Login Modal */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 15px 15px 0 0;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.5rem;
}

/* Frosted glass effect for cards, modals, and navbar */
.card, .modal-content, .navbar {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
}

/* Optional: make navbar text more readable on frosted glass */
.navbar .navbar-brand, .navbar .navbar-text, .navbar .btn {
    color: #222 !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.5);
}

/* Optional: make modal header/footer more readable */
.modal-header, .modal-footer {
    background: rgba(255,255,255,0.35) !important;
    border-bottom: 1px solid rgba(255,255,255,0.18);
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 1px solid #dee2e6;
    border-radius: 15px 15px 0 0 !important;
    font-weight: 600;
}

/* Statistics Cards */
.stat-card {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-left: 4px solid #007bff;
}

.stat-card:nth-child(2) {
    border-left-color: #17a2b8;
}

.stat-card:nth-child(3) {
    border-left-color: #ffc107;
}

.stat-card:nth-child(4) {
    border-left-color: #28a745;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
}

/* Management Cards */
.management-card {
    cursor: pointer;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.management-card:hover {
    border-color: #007bff;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.management-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.management-card .card-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.management-card .card-text {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Activity List */
.activity-list {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

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

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
    color: white;
}

.activity-content {
    flex: 1;
}

.activity-user {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.activity-action {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.activity-time {
    color: #adb5bd;
    font-size: 0.8rem;
}

/* Buttons */
.btn {
    border-radius: 10px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    border: none;
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    border: none;
    color: #212529;
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
    border: none;
}

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

.table thead th {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: none;
    font-weight: 600;
    color: #495057;
    padding: 1rem;
}

.table tbody td {
    padding: 1rem;
    border-top: 1px solid #e9ecef;
    vertical-align: middle;
}

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

/* Status Badges */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

.status-not-checked-in {
    background-color: #f8d7da;
    color: #721c24;
}

.status-completed {
    background-color: #d1ecf1;
    color: #0c5460;
}

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

/* Loading Spinner */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .management-icon {
        font-size: 2.5rem;
    }
    
    .container-fluid {
        padding: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .management-icon {
        font-size: 2rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Custom Scrollbar */
.activity-list::-webkit-scrollbar {
    width: 6px;
}

.activity-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.activity-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.activity-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Error States */
.alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

/* Success States */
.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

/* Modern login background gradient - iOS style dark */
.login-bg-gradient {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    background: url('background.jpg') center center / cover no-repeat fixed;
}

/* Remove the dark overlay for contrast */
.login-bg-gradient::after {
    display: none !important;
}

/* Login Modal Modernization */
.login-modal-content {
    background: transparent !important;
    border-radius: 32px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
    border: 1.5px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    z-index: 2;
    position: relative;
    max-width: 400px;
}

.login-title {
    color: #fff;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.login-input {
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 1.1rem;
    padding: 0.75rem 1.25rem 0.75rem 2.5rem;
    box-shadow: 0 1px 4px rgba(31,38,135,0.04);
    margin-bottom: 0.5rem;
}
.login-input:focus {
    background: rgba(255,255,255,0.28);
    color: #fff;
    border-color: #fff;
    box-shadow: 0 0 0 2px #fff2;
}

.login-input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 1.1rem;
    opacity: 0.7;
    pointer-events: none;
}

.login-btn {
    border-radius: 999px;
    background: #fff !important;
    color: #232946 !important;
    font-weight: 600;
    font-size: 1.15rem;
    box-shadow: 0 2px 12px rgba(255,255,255,0.10);
    padding: 0.75rem 0;
    border: none;
    transition: background 0.2s, color 0.2s;
}
.login-btn:hover {
    background: #f1f1f1 !important;
    color: #181c2f !important;
}

.login-link, .login-link a {
    color: #fff;
    opacity: 0.85;
    font-size: 1rem;
    text-decoration: underline;
    transition: color 0.2s, opacity 0.2s;
}
.login-link a:hover {
    color: #c7d2fe;
    opacity: 1;
}

.form-check-label, .form-check-input {
    color: #fff !important;
    opacity: 0.85;
}

@media (max-width: 576px) {
    .login-modal-content {
        padding: 1.2rem !important;
        max-width: 98vw;
    }
    .login-title {
        font-size: 1.4rem;
    }
}

.login-logo {
    display: block;
    margin: 0 auto 18px auto;
    width: 80%;
    max-width: 240px;
    height: auto;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
} 