/* ==========================================================================
   TABLE OF CONTENTS
   ==========================================================================
   01. ROOT VARIABLES & GLOBAL RESET
   02. GLOBAL UTILITIES & ANIMATIONS
   03. NAVBAR & TOP NAVIGATION
   04. HERO SECTION & HOME LAYOUT
   05. AUTHENTICATION (LOGIN, REGISTER, RESET)
   06. STUDENT DASHBOARD (.uits-unique-student-dashboard)
   07. CONVOCATION REGISTRATION MODULE
   08. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* ==========================================================================
   01. ROOT VARIABLES & GLOBAL RESET
   ========================================================================== */
:root {
    /* Brand Colors */
    --primary-maroon: #921E33;
    --dark-maroon:  #6A1225;
    --nav-maroon:     #921E33;
    --primary:        #921E33;
    --primary-dark:   #731526;
    --gold:           #D4AF37;

    /* UI Colors */
    --success: #198754;
    --danger:  #DC3545;
    --warning: #FFC107;
    --light:   #F5F7FB;
    --white:   #FFFFFF;

    /* The original file had both #ECECEC and #E9ECEF for borders. Unified here. */
    --border:  #E9ECEF;
    --text:    #666;

    /* Layout Variables */
    --shadow: 0 15px 40px rgba(0,0,0,.08);
    --radius: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Fluid Media & Tables */
img, svg, video {
    max-width: 100%;
    height: auto;
}

.table-responsive, table {
    max-width: 100%;
    overflow-x: auto;
}


/* ==========================================================================
   02. GLOBAL UTILITIES & ANIMATIONS
   ========================================================================== */
.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.footer-link {
    color: var(--primary-maroon);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.footer-link:hover {
    color: #b32542;
    text-decoration: underline;
}

.hover-white:hover {
    color: #fff !important;
}

/* Live Pulse Dot */
.live-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7);
    animation: pulseActive 1.5s infinite;
}

@keyframes pulseActive {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(40, 167, 69, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* Convocation Multicolor Badge */
.convocation-multicolor-badge {
    background: linear-gradient(-45deg, #921E33, #FF8C00, #4A00E0, #8E2DE2);
    background-size: 400% 400%;
    animation:
        gradientShift 8s ease infinite,
        badgeEntrance 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards,
        neonPulse 2.5s infinite ease-in-out;
    padding: 3px;
    position: relative;
    overflow: hidden;
}

.convocation-multicolor-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(#921E33, #FF8C00, #00F2FE, #4FACFE, #921E33);
    animation: borderRotate 4s linear infinite;
    z-index: 1;
}

.convocation-multicolor-badge::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: inherit;
    border-radius: 50px;
    z-index: 1;
}

.icon-wrap i {
    font-size: 2.2rem;
    color: #FFFFFF;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
    animation: iconBounce 2.5s infinite ease-in-out;
    display: inline-block;
}

.badge-text {
    font-weight: 900;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

@keyframes borderRotate { 100% { transform: rotate(360deg); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes badgeEntrance { 0% { transform: translateY(-40px) scale(0.8); opacity: 0; } 100% { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes neonPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(146, 30, 51, 0.4), 0 0 40px rgba(255, 140, 0, 0.2); transform: translateY(0); }
    50% { box-shadow: 0 0 35px rgba(0, 242, 254, 0.6), 0 0 60px rgba(142, 45, 226, 0.4); transform: translateY(-5px); }
}
@keyframes iconBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.15) rotate(5deg); }
}


/* ==========================================================================
   03. NAVBAR & TOP NAVIGATION
   ========================================================================== */
.top-bar {
    background-color: var(--dark-maroon);
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container-fluid {
    flex-wrap: nowrap !important;
}

.brand-logo, .logo {
    width: clamp(50px, 6vw, 65px);
    height: auto;
    object-fit: contain;
}
.logo { height: 50px; } /* Legacy class support */

.portal-title, .portal-title-main {
    font-weight: 700;
    color: var(--primary-maroon);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.2;
    white-space: normal;
}

.portal-sub, .portal-subtitle {
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    color: #6c757d;
    white-space: normal;
}

/* Nav Typography & Links */
.nav-link {
    white-space: nowrap;
}

.navbar .nav-link, .navbar-nav .nav-link {
    font-size: 0.95rem;
    padding: 0.25rem 0.6rem !important;
    transition: color 0.2s ease-in-out;
}

.navbar .nav-link:hover,
.navbar .nav-link.active,
.nav-link:hover {
    color: var(--primary-maroon) !important;
}

/* Nav Widgets & Mini Text */
.nav-micro-text { font-size: 0.65rem; letter-spacing: 0.5px; }
.nav-small-text { font-size: 0.85rem; }
.nav-timer-digits { font-size: 0.85rem; }
.nav-timer-digits small { font-size: 0.6rem; }

/* Navbar Buttons */
.btn-login {
    border: 1px solid var(--primary-maroon);
    color: var(--primary-maroon);
    margin-right: 10px;
    transition: all 0.3s ease-in-out;
}

.btn-login:hover {
    background-color: var(--primary-maroon);
    color: #fff;
    transform: translateY(-2px);
}

.btn-register {
    background-color: var(--primary-maroon);
    color: #fff;
    transition: all 0.3s ease-in-out;
}

.btn-register:hover {
    background-color: var(--dark-maroon);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(146, 30, 51, 0.2);
}


/* ==========================================================================
   04. HERO SECTION & HOME LAYOUT
   ========================================================================== */
.hero {
    background: linear-gradient(rgba(146, 30, 51, 0.9), rgba(106, 18, 37, 0.9)), url('Image/campus.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 80px 0;
}

.hero-badge {
    background-color: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 6px 15px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-title h1 {
    font-size: 3rem;
    font-weight: 800;
}

.hero-title span {
    color: var(--gold);
}

.hero-panel {
    background-color: #fff;
    color: #333;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease-in-out;
}

.hero-panel:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.hero-panel h3 {
    color: var(--primary-maroon);
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.hero-panel-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.hero-panel-item i {
    color: var(--primary-maroon);
    font-size: 1.5rem;
    margin-right: 15px;
}

.hero-panel-item strong {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Hero Buttons */
.hero-buttons .btn-hero {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 12px;
    margin-top: 15px;
    transition: all .35s ease-in-out;
}

.btn-start { background: var(--gold); color: #222; border: 2px solid var(--gold); }
.btn-start:hover { background: #fff; color: var(--primary-maroon); border-color: #fff; transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0,0,0,.25); }
.btn-guide { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.9); }
.btn-guide:hover { background: #fff; color: var(--primary-maroon); border-color: #fff; transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0,0,0,.25); }
.hero-buttons .btn-hero i { transition: transform .35s ease; }
.hero-buttons .btn-hero:hover i { transform: translateX(4px); }
.hero-buttons .btn-hero:active { transform: scale(.97); }
.hero-buttons .btn-hero:focus { box-shadow: 0 0 0 .25rem rgba(212,175,55,.35); }

/* Quick Actions Widget */
.quick-actions {
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.quick-card, .card-ui {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
}

.quick-card:hover, .card-ui:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(146, 30, 51, 0.15);
}

.quick-icon {
    background-color: rgba(146, 30, 51, 0.1);
    color: var(--primary-maroon);
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.quick-card:hover .quick-icon, .card-ui:hover .quick-icon {
    background-color: var(--primary-maroon);
    color: #fff;
}

.quick-card a {
    color: var(--primary-maroon);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 1rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.quick-card a:hover {
    color: var(--dark-maroon);
    gap: 8px;
}

/* Home Section Styles & Timers */
.section { padding: 80px 0; }
.section-title { text-align: center; font-weight: 700; color: var(--primary-maroon); margin-bottom: 10px; }
.section-subtitle { text-align: center; color: #6c757d; max-width: 700px; margin: 0 auto 50px auto; }
.countdown { background-color: #f1f3f5; padding: 60px 0; text-align: center; }
.timer { display: flex; justify-content: center; gap: 20px; margin: 30px 0; }
.timer-card { background-color: var(--primary-maroon); color: #fff; padding: 20px; border-radius: 10px; min-width: 100px; }


/* ==========================================================================
   05. AUTHENTICATION (LOGIN, REGISTER, RESET)
   ========================================================================== */

/* Wrapper Scopes */
.uits-login-scope, .uits-register-scope, .uits-reset-scope {
    background-color: #f8f9fa;
    padding: 60px 0;
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
}

/* Auth Left Panel */
.uits-login-scope .left-panel h1,
.uits-register-scope .left-panel h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.uits-login-scope .left-panel h1 span,
.uits-register-scope .left-panel h1 span {
    color: var(--primary-maroon);
    font-weight: 800;
}

.uits-login-scope .left-panel p,
.uits-register-scope .left-panel p {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.uits-login-scope .portal-badge,
.uits-register-scope .portal-badge {
    background-color: rgba(146, 30, 51, 0.1);
    border: 1px solid var(--primary-maroon);
    color: var(--primary-maroon);
    padding: 6px 15px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Auth Info Boxes */
.uits-login-scope .info-box,
.uits-register-scope .info-box { margin-top: 30px; }

.uits-login-scope .info-item,
.uits-register-scope .info-item { display: flex; align-items: flex-start; margin-bottom: 20px; }

.uits-login-scope .info-item i,
.uits-register-scope .info-item i { color: var(--primary-maroon); font-size: 1.4rem; margin-right: 15px; margin-top: 2px; }

.uits-login-scope .info-item strong,
.uits-register-scope .info-item strong { display: block; color: #333; font-size: 1rem; }

.uits-login-scope .info-item span,
.uits-register-scope .info-item span { color: #6c757d; font-size: 0.9rem; }

/* Auth Forms & Cards */
.uits-login-scope .login-card,
.uits-register-scope .login-card,
.uits-reset-scope .login-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary-maroon);
}
.uits-reset-scope .login-card { margin: 0 auto; }

.uits-login-scope .login-card .logo,
.uits-register-scope .login-card .logo,
.uits-reset-scope .login-card .logo {
    height: 65px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
}
.uits-register-scope .login-card .logo,
.uits-reset-scope .login-card .logo { height: 50px; margin-bottom: 25px; }

.uits-login-scope .login-title,
.uits-register-scope .login-title,
.uits-reset-scope .login-title {
    color: var(--primary-maroon);
    font-weight: 700;
    margin-bottom: 5px;
}
.uits-reset-scope .login-title { font-size: 1.8rem; }

.uits-login-scope .login-sub,
.uits-register-scope .login-sub,
.uits-reset-scope .login-sub {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 25px;
}
.uits-reset-scope .login-sub { font-size: 0.95rem; }

.uits-login-scope .form-label,
.uits-register-scope .form-label,
.uits-reset-scope .form-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}

.uits-login-scope .form-control,
.uits-register-scope .form-control,
.uits-reset-scope .form-control {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #ced4da;
}

.uits-login-scope .form-control:focus,
.uits-register-scope .form-control:focus,
.uits-reset-scope .form-control:focus {
    border-color: var(--primary-maroon);
    box-shadow: 0 0 0 0.25rem rgba(146, 30, 51, 0.15);
}

/* Unique Authentication Elements */
.uits-login-scope .input-group-text { cursor: pointer; background-color: #f8f9fa; border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
.uits-login-scope .forgot { color: var(--primary-maroon); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.uits-login-scope .forgot:hover { color: var(--dark-maroon); text-decoration: underline; }

/* Buttons */
.uits-login-scope .btn-login,
.uits-register-scope .btn-submit,
.uits-reset-scope .btn-reset {
    background-color: var(--primary-maroon);
    color: #fff;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease-in-out;
}
.uits-login-scope .btn-login:hover,
.uits-register-scope .btn-submit:hover,
.uits-reset-scope .btn-reset:hover {
    background-color: var(--dark-maroon);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(146, 30, 51, 0.2);
}

/* Captcha & Security */
.uits-register-scope .captcha-box { background: #e9ecef; border: 1px solid #ced4da; border-radius: 8px; padding: 10px; font-weight: 700; letter-spacing: 2px; text-align: center; color: var(--primary-maroon); }
.uits-register-scope .security-math,
.uits-reset-scope .security-math { background: #e9ecef; border: 1px solid #ced4da; border-radius: 8px; padding: 10px; font-weight: 700; color: #495057; text-align: center; display: flex; align-items: center; justify-content: center; height: 100%; }

/* Success Views */
.uits-register-scope .success-view,
.uits-reset-scope .success-view { display: none; text-align: center; padding: 20px 0; }
.uits-reset-scope .success-view { padding: 30px 0; }

.uits-register-scope .success-icon,
.uits-reset-scope .success-icon { font-size: 4rem; color: #28a745; margin-bottom: 20px; display: inline-block; }

.uits-register-scope .success-title,
.uits-reset-scope .success-title { color: #28a745; font-weight: 700; margin-bottom: 15px; }

/* Dashboard Link & Misc */
.uits-register-scope .credentials-box { background-color: #f8f9fa; border: 1px solid #dee2e6; padding: 20px; border-radius: 10px; margin: 25px 0; text-align: left; }
.uits-register-scope .btn-dashboard { background-color: var(--primary-maroon); color: #fff; padding: 12px 30px; border-radius: 8px; font-weight: 600; text-decoration: none; display: inline-block; transition: all 0.3s ease; }
.uits-register-scope .btn-dashboard:hover { background-color: var(--dark-maroon); transform: translateY(-2px); }

/* Navigation Back Links & Dividers */
.uits-login-scope .divider { text-align: center; margin: 25px 0; position: relative; }
.uits-login-scope .divider::before { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1px; background-color: #dee2e6; z-index: 1; }
.uits-login-scope .divider span { background-color: #fff; padding: 0 15px; color: #6c757d; font-size: 0.85rem; position: relative; z-index: 2; }
.uits-login-scope .help-card { background-color: #fff8f9; border: 1px dashed rgba(146, 30, 51, 0.3); padding: 15px; border-radius: 8px; margin-bottom: 20px; }
.uits-login-scope .help-card h5 { color: var(--primary-maroon); font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; }
.uits-login-scope .help-card p { font-size: 0.85rem; margin-bottom: 5px; color: #555; }
.uits-login-scope .help-card i { color: var(--primary-maroon); margin-right: 5px; }
.uits-login-scope .home-btn { color: #6c757d; text-decoration: none; font-size: 0.9rem; display: inline-flex; align-items: center; justify-content: center; width: 100%; transition: color 0.3s ease; margin-bottom: 15px; }
.uits-login-scope .home-btn:hover { color: var(--primary-maroon); }
.uits-reset-scope .back-to-login { display: inline-block; margin-top: 25px; color: #6c757d; text-decoration: none; font-weight: 600; transition: color 0.2s ease; }
.uits-reset-scope .back-to-login:hover { color: var(--primary-maroon); }

/* Footers */
.uits-login-scope .login-footer,
.uits-reset-scope .login-footer { text-align: center; font-size: 0.8rem; color: #8c96a0; line-height: 1.5; margin-top: 35px; padding-top: 20px; border-top: 1px solid #dee2e6; }


/* ==========================================================================
   06. STUDENT DASHBOARD (.uits-unique-student-dashboard)
   ========================================================================== */
.uits-unique-student-dashboard {
    background: var(--light);
    color: #444;
    min-height: 100vh;
}

/* Dashboard Sidebar */
.uits-unique-student-dashboard .sidebar { position: fixed; left: 0; top: 0; width: 270px; height: 100vh; background: var(--primary); color: white; padding: 25px; overflow-y: auto; z-index: 1000; transition: all 0.3s ease; }
.uits-unique-student-dashboard .logo { width: 70px; display: block; margin: auto; margin-bottom: 15px; }
.uits-unique-student-dashboard .portal-name { text-align: center; font-size: 22px; font-weight: 700; line-height: 1.4; }
.uits-unique-student-dashboard .portal-sub { text-align: center; font-size: 13px; color: #EEE; margin-bottom: 35px; }
.uits-unique-student-dashboard .menu-title { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: #E5D7A8; margin-bottom: 12px; }
.uits-unique-student-dashboard .sidebar ul { list-style: none; padding: 0; margin: 0; }
.uits-unique-student-dashboard .sidebar ul li { margin-bottom: 8px; }
.uits-unique-student-dashboard .sidebar ul li a { display: flex; align-items: center; gap: 15px; padding: 14px 18px; border-radius: 14px; text-decoration: none; color: white; transition: .3s; font-weight: 500; }
.uits-unique-student-dashboard .sidebar ul li a i { font-size: 20px; }
.uits-unique-student-dashboard .sidebar ul li a:hover { background: rgba(255,255,255,.12); }
.uits-unique-student-dashboard .sidebar ul li a.active { background: var(--gold); color: #222; font-weight: 600; }

/* Dashboard Main Layout */
.uits-unique-student-dashboard .main { margin-left: 270px; min-height: 100vh; transition: all 0.3s ease; }
.uits-unique-student-dashboard .topbar { background: white; padding: 18px 35px; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 999; }
.uits-unique-student-dashboard .page-title { font-size: 30px; font-weight: 700; color: var(--primary); }
.uits-unique-student-dashboard .top-right { display: flex; align-items: center; gap: 25px; }
.uits-unique-student-dashboard .notification { position: relative; font-size: 24px; color: #555; cursor: pointer; }
.uits-unique-student-dashboard .notification span { position: absolute; top: -8px; right: -8px; background: red; width: 18px; height: 18px; border-radius: 50%; color: white; font-size: 10px; display: flex; justify-content: center; align-items: center; }
.uits-unique-student-dashboard .profile { display: flex; align-items: center; gap: 15px; }
.uits-unique-student-dashboard .profile img { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--gold); }
.uits-unique-student-dashboard .profile strong { display: block; font-size: 15px; }
.uits-unique-student-dashboard .profile small { color: #888; }
.uits-unique-student-dashboard .content { padding: 35px; }

/* Dashboard Welcome & Metric Cards */
.uits-unique-student-dashboard .welcome-card { background: linear-gradient(135deg,#921E33,#6F1628); border-radius: 25px; padding: 40px; color: white; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.uits-unique-student-dashboard .welcome-card::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.05); right: -80px; top: -70px; }
.uits-unique-student-dashboard .welcome-card h2 { font-size: 38px; font-weight: 700; margin-bottom: 15px; }
.uits-unique-student-dashboard .welcome-card p { font-size: 17px; line-height: 32px; max-width: 720px; color: #F3F3F3; }
.uits-unique-student-dashboard .dashboard-card { background: white; border-radius: 22px; padding: 28px; box-shadow: var(--shadow); height: 100%; transition: .3s; }
.uits-unique-student-dashboard .dashboard-card:hover { transform: translateY(-6px); }

/* Status & Progress UI */
.uits-unique-student-dashboard .status-icon { width: 70px; height: 70px; background: rgba(146,30,51,.08); border-radius: 18px; display: flex; justify-content: center; align-items: center; margin-bottom: 18px; }
.uits-unique-student-dashboard .status-icon i { font-size: 32px; color: var(--primary); }
.uits-unique-student-dashboard .status-title { font-size: 16px; font-weight: 600; color: #666; }
.uits-unique-student-dashboard .status-value { font-size: 28px; font-weight: 700; color: var(--primary); margin-top: 10px; }
.uits-unique-student-dashboard .progress-title { font-size: 18px; font-weight: 600; margin-bottom: 18px; color: #444; }
.uits-unique-student-dashboard .progress { height: 14px; border-radius: 20px; background: #E9ECEF; overflow: hidden; }
.uits-unique-student-dashboard .progress-bar { background: linear-gradient(90deg,var(--gold),#E8C65B); font-weight: 600; color: #222; }

/* Dashboard Profile Sidebar Widget */
.uits-unique-student-dashboard .student-photo { width: 120px; height: 120px; border-radius: 50%; border: 5px solid var(--gold); object-fit: cover; display: block; margin: auto; margin-bottom: 20px; }
.uits-unique-student-dashboard .student-name { font-size: 24px; font-weight: 700; text-align: center; color: var(--primary); margin-bottom: 5px; }
.uits-unique-student-dashboard .student-program { text-align: center; color: #777; margin-bottom: 25px; }
.uits-unique-student-dashboard .info-table { width: 100%; }
.uits-unique-student-dashboard .info-table tr { border-bottom: 1px solid #EEE; }
.uits-unique-student-dashboard .info-table td { padding: 10px 0; font-size: 15px; }
.uits-unique-student-dashboard .info-table td:first-child { font-weight: 600; color: #555; width: 45%; }
.uits-unique-student-dashboard .info-table td:last-child { text-align: right; color: #222; }

/* Dashboard Extras (Quick Menu, Timeline, Notices) */
.uits-unique-student-dashboard .quick-menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.uits-unique-student-dashboard .quick-btn { display: flex; align-items: center; gap: 15px; padding: 18px; border-radius: 18px; background: #F7F8FC; text-decoration: none; transition: .3s; color: #333; border: 1px solid #EEE; }
.uits-unique-student-dashboard .quick-btn:hover { background: var(--primary); color: white; transform: translateY(-4px); }
.uits-unique-student-dashboard .quick-btn i { font-size: 24px; color: var(--gold); }

.uits-unique-student-dashboard .timeline { position: relative; margin-top: 15px; padding-left: 35px; }
.uits-unique-student-dashboard .timeline::before { content: ""; position: absolute; left: 11px; top: 0; bottom: 0; width: 3px; background: #DDD; }
.uits-unique-student-dashboard .timeline-item { position: relative; margin-bottom: 30px; }
.uits-unique-student-dashboard .timeline-item:last-child { margin-bottom: 0; }
.uits-unique-student-dashboard .timeline-dot { position: absolute; left: -35px; top: 5px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); border: 4px solid white; box-shadow: 0 0 0 2px var(--primary); }
.uits-unique-student-dashboard .timeline-content h6 { font-weight: 700; margin-bottom: 5px; color: var(--primary); }
.uits-unique-student-dashboard .timeline-content p { margin-bottom: 4px; color: #666; font-size: 14px; }
.uits-unique-student-dashboard .timeline-content small { color: #999; }

.uits-unique-student-dashboard .notice-list { list-style: none; padding: 0; margin: 0; }
.uits-unique-student-dashboard .notice-list li { padding: 16px 0; border-bottom: 1px solid #EEE; }
.uits-unique-student-dashboard .notice-list li:last-child { border-bottom: none; }
.uits-unique-student-dashboard .notice-list a { text-decoration: none; font-weight: 600; color: #444; }
.uits-unique-student-dashboard .notice-list a:hover { color: var(--primary); }
.uits-unique-student-dashboard .notice-date { display: block; font-size: 13px; margin-top: 5px; color: #888; }
.uits-unique-student-dashboard .footer { margin-top: 35px; text-align: center; font-size: 14px; color: #888; padding: 20px; }


/* ==========================================================================
   07. CONVOCATION REGISTRATION MODULE
   ========================================================================== */

/* Registration Sidebar Layout */
.sidebar { position: fixed; left: 0; top: 0; width: 270px; height: 100vh; background: var(--primary); padding: 25px; overflow-y: auto; color: white; z-index: 1000; transition: all 0.3s ease; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar ul li { margin-bottom: 8px; }
.sidebar ul li a { display: flex; align-items: center; gap: 15px; padding: 14px 18px; border-radius: 14px; color: white; text-decoration: none; transition: .3s; font-weight: 500; }
.sidebar ul li a:hover { background: rgba(255,255,255,.10); }
.sidebar ul li a.active { background: var(--gold); color: #222; font-weight: 600; }

/* Registration Main & Dynamic Topbars */
.main { margin-left: 270px; min-height: 100vh; transition: all 0.3s ease; }
.topbar, .uits-cp-topbar, .pay-topbar, .suc-topbar, .cap-topbar { background: var(--white); padding: 18px 35px; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 999; flex-wrap: wrap; gap: 15px; }
.page-title { font-size: 30px; font-weight: 700; color: var(--primary); }
.page-subtitle { font-size: 14px; color: #777; margin-top: 4px; }
.user-panel { display: flex; align-items: center; gap: 18px; }
.user-photo { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--gold); object-fit: cover; }
.user-name { font-weight: 600; }

/* Registration Topbar Custom Flexible Blocks */
.top-right, .deadline-card-wrapper, .cap-user-panel { display: flex !important; flex-wrap: nowrap !important; align-items: center !important; gap: 12px; white-space: nowrap; }
.deadline-box, .countdown-box, .status-box { display: inline-flex !important; align-items: center !important; flex-shrink: 0; padding: 8px 12px !important; font-size: 13px; }
.countdown-timer, .registration-closes-in { display: inline-flex !important; align-items: center !important; gap: 4px !important; }
.timer-unit { font-size: 13px !important; font-weight: 700; }

/* Registration Content & Navigation */
.content { padding: 35px; }
.breadcrumb-card { background: white; padding: 18px 25px; border-radius: 18px; box-shadow: var(--shadow); margin-bottom: 25px; }
.breadcrumb { margin: 0; }
.breadcrumb-item a { text-decoration: none; color: var(--primary); font-weight: 600; }

/* Step Wizard Element */
.wizard { background: white; border-radius: 24px; padding: 30px; box-shadow: var(--shadow); margin-bottom: 30px; }
.wizard-title { font-size: 28px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.wizard-subtitle { color: #666; margin-bottom: 30px; }
.step-wrapper { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.step { flex: 1; min-width: 110px; text-align: center; position: relative; }
.step-circle { width: 60px; height: 60px; border-radius: 50%; background: #EAEAEA; display: flex; justify-content: center; align-items: center; font-size: 22px; font-weight: 700; margin: auto; margin-bottom: 12px; transition: .3s; }
.step.active .step-circle { background: var(--primary); color: white; }
.step.completed .step-circle { background: var(--success); color: white; }
.step-title { font-size: 14px; font-weight: 600; }
.step::after { content: ""; position: absolute; top: 30px; left: 60%; width: 80%; height: 3px; background: #DDD; }
.step:last-child::after { display: none; }

/* Registration Forms & Captcha */
.erp-card { background: white; border-radius: 22px; padding: 30px; box-shadow: var(--shadow); margin-bottom: 30px; }
.erp-title { font-size: 26px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.erp-subtitle { color: #666; margin-bottom: 25px; }
.form-label { font-weight: 600; margin-bottom: 8px; color: #444; }
.form-control, .form-select { height: 56px; border-radius: 14px; border: 1px solid #DDD; padding-left: 16px; }
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: none; }
.captcha-box { height: 56px; background: #F5F5F5; border: 2px dashed #BBB; border-radius: 14px; display: flex; justify-content: center; align-items: center; font-size: 26px; font-weight: 700; letter-spacing: 8px; color: var(--primary); user-select: none; }

/* Form Buttons */
.btn-primary-custom { height: 56px; background: var(--primary); color: white; border: none; border-radius: 14px; padding: 0 35px; font-weight: 600; transition: .3s; }
.btn-primary-custom:hover { background: var(--primary-dark); }
.btn-secondary-custom { height: 56px; background: #ECECEC; border: none; border-radius: 14px; padding: 0 35px; font-weight: 600; }
.btn-secondary-custom:hover { background: #DDDDDD; }
.wizard-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 35px; padding-top: 25px; border-top: 1px solid #EEEEEE; }

/* End Status Cards */
.success-card { display: none; background: #EAF8EE; border-left: 6px solid var(--success); border-radius: 18px; padding: 30px; margin-top: 30px; }
.success-icon { font-size: 65px; color: var(--success); margin-bottom: 15px; }
.success-card h3 { color: var(--success); font-weight: 700; margin-bottom: 15px; }

.failed-card { display: none; background: #FFF3F3; border-left: 6px solid var(--danger); border-radius: 18px; padding: 30px; margin-top: 30px; }
.failed-icon { font-size: 65px; color: var(--danger); margin-bottom: 15px; }
.failed-card h3 { color: var(--danger); font-weight: 700; margin-bottom: 15px; }
.reason-list { margin-top: 15px; padding-left: 20px; }
.reason-list li { margin-bottom: 10px; }

/* Parent Container JS trigger */
.registration-container { display: none; }


/* ==========================================================================
   08. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* --- LARGE SCREENS (1200px and up) --- */
@media (min-width: 1200px) {
    .desktop-top-tier { border-bottom: 1px solid #e9ecef; }
    .border-start-sm { border-left: 1px solid #dee2e6; }
    .border-end-sm { border-right: 1px solid #dee2e6; }
}

/* --- NAV LAYOUTS FOR LAPTOP (Below 1200px) --- */
@media screen and (max-width: 1200px) {
    .navbar-brand h5 { font-size: 16px !important; }
    .navbar-brand small { font-size: 10px !important; }
    .navbar-nav .nav-link { font-size: 12px !important; padding-left: 5px !important; padding-right: 5px !important; }
    .deadline-box { font-size: 11px !important; padding: 2px 5px !important; }
}

/* --- TABLET NAV WRAPPING (Below 1199.98px) --- */
@media (max-width: 1199.98px) {
    .custom-mobile-layout { flex-direction: column; align-items: stretch; }
    .navbar-brand { width: 100%; margin-bottom: 1rem; justify-content: flex-start; }
    .custom-toggler { width: 100%; background-color: #f8f9fa; border: 1px solid #dee2e6; padding: 0.6rem; border-radius: 8px; }
    .navbar-collapse { width: 100%; }
    .navbar-nav { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #dee2e6; }
    .nav-countdown-wrapper { width: 100%; justify-content: space-between; }
    .nav-action-btns { width: 100%; }
    .nav-action-btns .btn { width: 100%; }
}

/* --- TABLET HERO SPECIFIC (769px to 1024px) --- */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title h1 { font-size: 2.5rem; }
    .hero-panel { padding: 25px; }
}

/* --- DASHBOARD & REGISTRATION COLLAPSE (Below 992px) --- */
@media(max-width: 992px) {
    /* Collapse Sidebars */
    .uits-unique-student-dashboard .sidebar, .sidebar { left: -270px; }
    .uits-unique-student-dashboard .main, .main { margin-left: 0; }

    /* Modify Topbar and Spacing */
    .uits-unique-student-dashboard .topbar, .topbar { padding: 18px 20px; }
    .uits-unique-student-dashboard .content, .content { padding: 20px; }

    /* Dashboard specific fixes */
    .uits-unique-student-dashboard .quick-menu { grid-template-columns: 1fr; }
    .uits-unique-student-dashboard .welcome-card h2 { font-size: 30px; }

    /* Wizard Steps Fix */
    .step { min-width: 95px; margin-bottom: 25px; }
    .step::after { display: none; }
}

/* --- MOBILE LAYOUT (Below 768px) --- */
@media (max-width: 768px) {
    /* Hero fixes */
    .hero { padding: 40px 15px; }
    .hero-title h1 { font-size: 2rem; }
    .hero-buttons .btn-hero { width: 100%; margin-right: 0; justify-content: center; }
    .hero-panel { padding: 20px; margin-top: 25px; }

    /* General section fixes */
    .timer { flex-wrap: wrap; gap: 10px; }
    .timer-card { min-width: 70px; padding: 10px; }

    /* Authentication Forms Margin Fixes */
    .uits-login-scope, .uits-register-scope, .uits-reset-scope { padding: 30px 15px; }
    .uits-login-scope .login-card, .uits-register-scope .login-card, .uits-reset-scope .login-card { padding: 20px; }

    /* Footer Action Buttons */
    .wizard-footer { flex-direction: column; gap: 15px; }
    .wizard-footer button { width: 100%; }
}

/* --- SMALL PHONES (Below 576px) --- */
@media(max-width: 576px) {
    /* Dashboard Fixes */
    .uits-unique-student-dashboard .page-title { font-size: 22px; }
    .uits-unique-student-dashboard .profile strong, .uits-unique-student-dashboard .profile small { display: none; }
    .uits-unique-student-dashboard .student-photo { width: 95px; height: 95px; }
    .uits-unique-student-dashboard .dashboard-card { padding: 20px; }

    /* Registration Forms & UI Sizes */
    .page-title { font-size: 24px; }
    .content { padding: 15px; }
    .erp-card, .wizard { padding: 20px; }
    .step-circle { width: 50px; height: 50px; font-size: 18px; }
    .step-title { font-size: 12px; }
}

/* --- EXTRA SMALL SCREENS SPECIFIC FOR NAV (Below 575.98px) --- */
@media (max-width: 575.98px) {
    .nav-countdown-wrapper { flex-direction: column !important; align-items: stretch !important; text-align: center; }
    .timer-sec { border-top: 1px solid #dee2e6; border-bottom: 1px solid #dee2e6; padding: 0.75rem 0 !important; margin: 0.5rem 0; }
    .status-sec, .deadline-sec { justify-content: center; }
}
