:root {
    --unid-blue: #004a99;
    --unid-blue-dark: #003570;
    --unid-green: #28a745;
    --body-bg: #f4f7f9;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--body-bg);
    color: #333;
}

/* =============================================
   BOOTSTRAP OVERRIDES
   ============================================= */
.bg-primary {
    background: linear-gradient(135deg, var(--unid-blue) 0%, var(--unid-blue-dark) 100%) !important;
}

.text-primary {
    color: var(--unid-blue) !important;
}

.border-primary {
    border-color: rgba(0, 74, 153, 0.25) !important;
}

.border-primary:focus {
    border-color: var(--unid-blue) !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 74, 153, 0.12);
}

.btn-primary {
    background: linear-gradient(135deg, var(--unid-blue), var(--unid-blue-dark));
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--unid-blue-dark), #002a5c);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,74,153,0.3);
}

.btn-success {
    background-color: var(--unid-green);
    border: none;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40,167,69,0.3);
}

/* =============================================
   CARDS
   ============================================= */
.card {
    transition: transform 0.3s ease;
}

.card-header {
    border-bottom: none;
}

/* =============================================
   FORM ELEMENTS
   ============================================= */
.form-label {
    font-size: 0.93rem;
    margin-bottom: 0.4rem;
}

.form-select, .form-control {
    padding: 0.75rem 1rem;
    border-radius: 10px;
}

.card-header h1, .card-header h2 {
    letter-spacing: -0.5px;
}

input[readonly], textarea[readonly] {
    background-color: #eef2f7;
    cursor: default;
    color: #444;
    border-color: #dde3ec !important;
}

/* =============================================
   SECTION BLOCKS
   ============================================= */
.section-block {
    background: #f8fafc;
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    border: 1px solid #e3ebf5;
}

.section-title {
    font-size: 1rem;
    letter-spacing: -0.2px;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid rgba(0,74,153,0.12);
    margin-bottom: 1.2rem !important;
}

/* =============================================
   WELCOME BANNER
   ============================================= */
.welcome-banner {
    background: linear-gradient(135deg, #eef4ff 0%, #f0f9ff 100%);
    border: 1px solid #cddff8;
}

.avatar-circle {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--unid-blue), var(--unid-blue-dark)) !important;
}

/* =============================================
   LOGIN PANEL ICON
   ============================================= */
.card-header .bi-mortarboard-fill {
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}

/* =============================================
   ALERTS
   ============================================= */
.alert {
    border-radius: 10px;
    font-size: 0.92rem;
}

/* =============================================
   MICRO-ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.container > .row > .col-md-8 > * {
    animation: fadeInUp 0.5s ease-out both;
}

#surveyPanel .welcome-banner {
    animation: fadeInUp 0.4s ease-out both;
}

#surveyPanel .card {
    animation: fadeInUp 0.5s 0.1s ease-out both;
}
