/* Custom styles for Forensic Lab Analysis - Awesome Colors! */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --warning-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --danger-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --info-gradient: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --accent-purple: #8e44ad;
    --accent-blue: #3498db;
    --accent-teal: #1abc9c;
}

/* Custom navbar with gradient */
.navbar-custom {
    background: var(--primary-gradient) !important;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-custom .navbar-brand {
    font-weight: bold;
    color: white !important;
}

.navbar-custom .nav-link {
    color: rgba(255,255,255,0.9) !important;
    transition: color 0.3s ease;
}

.navbar-custom .nav-link:hover {
    color: white !important;
    transform: translateY(-1px);
}

/* Custom card styles with gradients */
.card-gradient-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-gradient-secondary {
    background: var(--secondary-gradient);
    color: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-gradient-success {
    background: var(--success-gradient);
    color: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-gradient-warning {
    background: var(--warning-gradient);
    color: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(67, 233, 123, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-gradient-danger {
    background: var(--danger-gradient);
    color: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(250, 112, 154, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-gradient-info {
    background: var(--info-gradient);
    color: #333;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(168, 237, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-gradient-primary:hover,
.card-gradient-secondary:hover,
.card-gradient-success:hover,
.card-gradient-warning:hover,
.card-gradient-danger:hover,
.card-gradient-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Enhanced body background */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

/* Custom buttons */
.btn-custom-primary {
    background: var(--primary-gradient);
    border: none;
    border-radius: 25px;
    color: white;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.btn-custom-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Inline gradient buttons */
.btn-gradient {
    border: none;
    border-radius: 20px;
    color: white;
    padding: 8px 16px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-gradient:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    color: white;
    text-decoration: none;
}

/* Table enhancements */
.table-custom {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.table-custom thead {
    background: var(--dark-gradient);
    color: white;
}

.table-custom tbody tr:hover {
    background-color: rgba(142, 68, 173, 0.05);
    transition: background-color 0.3s ease;
}

/* Form enhancements */
.form-control-custom {
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    padding: 12px 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control-custom:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 0.2rem rgba(142, 68, 173, 0.25);
}

/* Card enhancements */
.card-custom {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Animation for stats numbers */
.stat-number {
    animation: countUp 1s ease-out;
}

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

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

/* Loading animation */
.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,0.85);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    background-color: #ffffff;
}

.profile-avatar-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8e44ad, #3498db);
    color: white;
    font-size: 3rem;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
