/* Base */
body {
    background-color: #f8f9fa;
}

.navbar-brand i {
    margin-right: 10px;
}

/* Cards */
.card {
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    border: none;
    margin-bottom: 20px;
}

.card-header {
    background-color: #fff;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 600;
}

/* Tables */
.table th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

.table-responsive {
    overflow-x: auto;
}

/* Badges */
.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
}

/* Buttons */
.btn i {
    margin-right: 5px;
}

/* Dashboard */
.dashboard-card {
    transition: transform 0.2s;
    cursor: pointer;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-card .card-body h2 {
    margin: 0;
    font-weight: 700;
}

/* Login */
.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 400px;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Print */
@media print {
    .navbar, .btn, .no-print {
        display: none !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 14px;
    }
    .btn-sm {
        padding: 2px 6px;
        font-size: 12px;
    }
}

/* Thumbnail Image */
.img-thumbnail-custom {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #f0f0f0;
    cursor: pointer;
    transition: transform 0.2s;
}

.img-thumbnail-custom:hover {
    transform: scale(1.05);
    border-color: #667eea;
}

.img-placeholder {
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #f0f0f0;
}

.img-placeholder i {
    color: #ccc;
    font-size: 28px;
}

/* Modal Image */
.modal-image {
    max-width: 100%;
    max-height: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}