/* ==========================================================================
   OLYMPIAD LOGIN BRANDING OVERRIDES (olympiad-login.css)
   ========================================================================== */

/* Theme Variables */
:root {
    --primary-blue: #0F5BFF;
    --dark-blue: #0B1B53;
    --light-bg: #F4F8FF;
    --orange-accent: #F5A623;
    --border-color: #E5EAF5;
    --text-main: #0B1B53;
    --text-muted: #6C7A9C;
    --font-poppins: 'Poppins', sans-serif;
}

/* Apply Poppins Font */
.login-wrapper-main, 
.login-wrapper-main h1, 
.login-wrapper-main h2, 
.login-wrapper-main h3, 
.login-wrapper-main h4, 
.login-wrapper-main p, 
.login-wrapper-main label, 
.login-wrapper-main button, 
.login-wrapper-main input {
    font-family: var(--font-poppins) !important;
}

/* Reset Proctor general show-section wrapper padding & heights */
.show-section-wrapper {
    background-image: none !important;
    background-color: #ffffff !important;
    width: 100% !important;
    min-height: auto !important;
}

/* Override default top navbar */
.quiz_navbar {
    background-color: #ffffff !important;
    padding: 0px 0 !important;
    box-shadow: none !important;
}
.quiz_navbar .btn-login {
    display: none !important;
}
.quiz_navbar .btn-login-header, 
.quiz_navbar .btn-login-header:hover {
    color: var(--primary-blue) !important;
    font-weight: 600;
}
.quiz_navbar .btn-register-header {
    background-color: var(--primary-blue) !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(15, 91, 255, 0.15) !important;
    transition: all 0.3s ease !important;
    border: none !important;
}
.quiz_navbar .btn-register-header:hover {
    background-color: #004BEC !important;
    box-shadow: 0 6px 16px rgba(15, 91, 255, 0.25) !important;
    transform: translateY(-1px);
}

.quiz_navbar .btn-login-login {
    background-color: #0f5bff !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(15, 91, 255, 0.15) !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.quiz_navbar .btn-login-login:hover {
    background-color: #004BEC !important;
    box-shadow: 0 6px 16px rgba(15, 91, 255, 0.25) !important;
    transform: translateY(-1px);
}

.quiz_navbar .btn-register-login {
    background-color: transparent !important;
    color: #004BEC !important;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 24px !important;
    text-decoration: none;  
}

.wrapperindex {
    padding: 0 !important;
}

/* Tab Switcher Overrides */
.form_tabs {
    border-radius: 12px !important;
    background-color: var(--light-bg) !important;
    box-shadow: none !important;
    padding: 5px !important;
    border: 1px solid var(--border-color) !important;
}
.form_tabs .nav-link {
    background-color: transparent !important;
    border-radius: 8px !important;
    border: none !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
    height: 40px !important;
    line-height: 1 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease !important;
}
.form_tabs .nav-link.active {
    background-color: var(--primary-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(15, 91, 255, 0.15) !important;
}

/* Left Informational Panel */
.signin-left-pane {
    background-color: #f8fafc !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 24px !important;
    padding: 30px !important;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
}
.signin-left-pane::before {
    display: none !important;
    content: none !important;
}

/* Welcome Badge */
.welcome-badge {
    align-self: flex-start;
    display: inline-flex;
    background-color: rgba(15, 91, 255, 0.08);
    color: var(--primary-blue);
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
}
.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue);
    color: #ffffff;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 9px;
    margin-right: 6px;
}

/* Headings */
.left-heading {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1.25;
}
.left-heading .accent-text {
    color: var(--primary-blue);
}
.left-subheading {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Trophy animation */
.trophy-img {
    max-height: 220px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(11, 27, 83, 0.08));
}
.float-animation {
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* Stat Cards */
.step1-inner .stat-card {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 6px 16px rgba(11, 27, 83, 0.02);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(15, 91, 255, 0.03);
}
.step1-inner .stat-icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.step1-inner .stat-icon-circle.bg-blue {
    background-color: rgba(15, 91, 255, 0.1);
    color: var(--primary-blue);
}
.step1-inner .stat-icon-circle.bg-green {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10B981;
}
.step1-inner .stat-icon-circle.bg-orange {
    background-color: rgba(245, 166, 35, 0.1);
    color: var(--orange-accent);
}
.step1-inner .stat-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.step1-inner .stat-val {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0;
}
.step1-inner .stat-desc {
    font-size: 10px;
    color: var(--text-muted);
    margin: 0;
    font-weight: 550;
}

/* Right Panel form card panel styling */
.login-card-panel {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(15, 91, 255, 0.03);
    border: 1px solid var(--border-color);
}
.main-heading {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--dark-blue) !important;
    position: relative !important;
    padding-bottom: 6px !important;
    text-align: left !important;
    margin-bottom: 10px !important;
}
.main-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

/* Label overrides */
.label-text {
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--dark-blue) !important;
    margin-bottom: 8px !important;
    padding-left: 0 !important;
}

/* Inputs overrides */
.form_input {
    height: 48px !important;
    line-height: 48px !important;
    border: 1.5px solid var(--border-color) !important;
    border-radius: 10px !important;
    padding-left: 14px !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    font-size: 13.5px !important;
    color: var(--dark-blue) !important;
    margin-bottom: 20px !important;
}
.form_input:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 4px rgba(15, 91, 255, 0.08) !important;
    outline: none !important;
}

/* Button stylings */
.btn-primary {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    height: 48px !important;
    line-height: normal !important;
    padding: 0 20px !important;
    transition: all 0.3s ease !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(15, 91, 255, 0.1) !important;
}
.btn-primary:hover {
    background-color: #004BEC !important;
    border-color: #004BEC !important;
    box-shadow: 0 6px 14px rgba(15, 91, 255, 0.18) !important;
}

/* Submit Next-btn styling */
.next-btn {
    width: 100% !important;
    height: 48px !important;
    margin-top: 20px !important;
}
.next-btn button {
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, #0F5BFF, #004BEC) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 14.5px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 16px rgba(15, 91, 255, 0.18) !important;
}
.next-btn button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 91, 255, 0.25) !important;
}

/* Captcha Layout */
#captchaimg {
    border: 1px solid var(--border-color) !important;
    border-radius: 10px !important;
    height: 48px !important;
    width: auto !important;
    object-fit: contain !important;
    background-color: #F8FAFC !important;
    padding: 5px 12px !important;
}
.fa-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-bg);
    color: var(--primary-blue) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 14px;
}
.fa-refresh:hover {
    background-color: rgba(15, 91, 255, 0.12);
    transform: rotate(180deg);
}

/* Webcam overrides */
.cam_sec {
    margin-bottom: 0 !important;
}
.cam_sec .box {
	width: 85% !important;
    height: 225px !important;
    border: 2px dashed var(--border-color) !important;
    border-radius: 12px !important;
    background: #F8FAFC !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}
.cam_sec .box:hover {
    border-color: var(--primary-blue) !important;
    transform: translateY(-2px);
}
.cam_sec .placeholder {
    background: transparent !important;
    padding: 0 !important;
    color: var(--text-muted) !important;
    font-size: 24px !important;
}
.cam_sec .placeholder i {
    color: var(--primary-blue) !important;
    font-size: 26px !important;
    margin-bottom: 8px;
}
.cam_sec .placeholder {
	opacity: 1;
}

.cam_sec .placeholder .subheading {
	font-size: 10px !important;
}

.cam_sec .placeholder span {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0b1b53 !important;
}

/* Capture button styling */
.cam_sec .captureimgbtn {
    margin-top: 20px !important;
    margin-bottom: 10px !important;
    background: var(--dark-blue) !important;
    border-radius: 30px !important;
    padding: 12px 36px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 10px rgba(11, 27, 83, 0.15) !important;
}
.cam_sec .captureimgbtn:hover {
    background: #142a78 !important;
    box-shadow: 0 6px 14px rgba(11, 27, 83, 0.25) !important;
    transform: translateY(-1px);
}

/* Upload file inputs styles */
input[type="file"] {
    padding: 8px !important;
    border: 1.5px dashed var(--border-color) !important;
    border-radius: 8px !important;
    background: #F8FAFC !important;
    width: 100% !important;
    font-size: 12.5px !important;
    color: var(--text-main) !important;
    cursor: pointer;
    font-weight: 500;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}
input[type="file"]::file-selector-button {
    background: var(--primary-blue) !important;
    color: white !important;
    border: none !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    cursor: pointer;
    font-weight: 600 !important;
    margin-right: 8px !important;
    transition: background 0.3s ease !important;
}
input[type="file"]::file-selector-button:hover {
    background: #004BEC !important;
}

/* Alert styles */
.alert {
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 550 !important;
    border: none !important;
    padding: 10px 15px !important;
}

/* Copyright Footer */
.login-footer {
    border-top: 1px solid var(--border-color);
}
.copyright-text {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 550;
    margin: 0;
}

/* RESPONSIVE DESIGN ADJUSTMENTS */

@media (max-width: 1200px) {
    #signin-left-pane, #learner-left-pane {
        padding: 30px;
    }
    .left-heading {
        font-size: 28px;
    }
    .trophy-img {
        max-height: 200px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .stat-cards-row .col-4 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 992px) {
    #signin-left-pane, #learner-left-pane {
        padding: 40px;
        align-items: center;
        text-align: center;
        min-height: auto;
    }
    .left-subheading {
        max-width: 100%;
    }
    .stat-cards-row {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    .login-card-panel {
        padding: 24px;
        margin-top: 0px;
    }
}

@media (max-width: 768px) {
    .step1index {
        padding-top: 15px !important;
        padding-bottom: 20px !important;
    }
}

@media (max-width: 576px) {
    .stat-cards-row .col-4 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .stat-card {
        padding: 10px 12px;
    }
    .otp-container {
        flex-direction: column;
    }
    .btn-otp {
        width: 100% !important;
    }
    .captcha-container {
        flex-direction: column;
        align-items: stretch;
    }
    .captcha-image-wrapper {
        justify-content: space-between;
        margin-top: 4px;
    }
    /* Force 100% width on OTP and captcha input rows to stack cleanly on mobile */
    .login-card-panel .col-8,
    .login-card-panel .col-4 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    /* Reset margins for stacked elements */
    .login-card-panel div[style*="margin-top"] {
        margin-top: 0px !important;
        margin-bottom: 15px !important;
        text-align: left !important;
        display: block !important;
    }
    .login-card-panel .btn-primary {
        width: 100% !important;
    }
    #captchaimg {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .login-card-panel {
        padding: 15px !important;
    }
    .left-heading {
        font-size: 22px !important;
    }
    .main-heading {
        font-size: 20px !important;
        margin-bottom: 15px !important;
    }
    #signin-left-pane, #learner-left-pane {
        padding: 25px 20px !important;
    }
}
/* Ensure video and canvas fit their containers */
#videoElement, 
#canvas {
   object-fit: cover !important;
    border-radius: 10px !important;
}

/* Responsive Alert messages formatting */
.alert {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-top: 15px !important;
    word-break: break-word !important;
}
.alert .close {
    background: transparent !important;
    border: none !important;
    font-size: 18px !important;
    opacity: 0.7 !important;
    cursor: pointer !important;
    color: inherit !important;
    padding: 0 !important;
}

/* ============================================================
   INSTRUCTIONS SECTION (login.php Left Panel Redesign)
   ============================================================ */

.instructions-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 5px;
    margin-bottom: 24px;
}

.instructions-title {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: #0F5BFF !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.instructions-divider {
    flex-grow: 1;
    border-bottom: 1.5px dotted rgba(15, 91, 255, 0.2) !important;
}

.instructions-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 24px;
}

.instruction-item-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1.5px dashed rgba(226, 232, 240, 0.7);
    transition: all 0.2s ease;
}

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

.instruction-item-row:hover {
    transform: translateX(4px);
}

.instruction-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(15, 91, 255, 0.07);
    color: #0F5BFF !important;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.instruction-item-row:hover .instruction-icon-wrapper {
    background-color: #0F5BFF;
    color: #ffffff !important;
}

.vertical-separator {
    width: 1px;
    height: 24px;
    background-color: #e2e8f0;
    flex-shrink: 0;
}

.instruction-text-wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.instruction-point-text {
    font-size: 13.5px !important;
    color: #1e293b !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    font-weight: 500 !important;
    text-align: left !important;
}

.mandatory-note {
    background-color: rgba(15, 91, 255, 0.06) !important;
    border: 1px solid rgba(15, 91, 255, 0.15) !important;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-top: 10px !important;
}

.mandatory-note i {
    font-size: 24px !important;
    color: #0F5BFF !important;
    flex-shrink: 0 !important;
}

.mandatory-note span {
    font-size: 13.5px !important;
    color: #1e3a8a !important;
    line-height: 1.5 !important;
    text-align: left !important;
}

.mandatory-note .note-highlight {
    color: #0F5BFF !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   FACE REGISTRATION MODERN CARD DESIGN SYSTEM OVERRIDES
   ========================================================================== */

:root {
    --primary-blue-redesign: #2563EB;
    --secondary-purple-redesign: #7C3AED;
    --success-green-redesign: #10B981;
    --background-gray-redesign: #F8FAFC;
    --border-gray-redesign: #E5E7EB;
    --accent-lavender-redesign: rgba(124, 58, 237, 0.06);
}

/* Guideline Card Styling */
.guidelines-card {
    background-color: #ffffff !important;
    border: 1px solid var(--border-gray-redesign) !important;
    border-radius: 24px !important;
    padding: 20px 20px 0px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    position: relative;
    overflow: hidden;
}

.guidelines-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(37, 99, 235, 0.08) !important;
    color: var(--primary-blue-redesign) !important;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    margin-bottom: 25px;
    border: 1px solid rgba(37, 99, 235, 0.12) !important;
}

.guidelines-badge i {
    font-size: 15px;
}

/* Checklist Items */
.guideline-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 0;
    border-bottom: 1.5px dashed rgba(226, 232, 240, 0.9);
    transition: all 0.2s ease;
}
.guideline-row:last-child {
    border-bottom: none;
}
.guideline-row:hover {
    transform: translateX(4px);
}

.guideline-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--primary-blue-redesign);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.guideline-row:hover .guideline-icon-circle {
    background-color: var(--primary-blue-redesign);
    color: #ffffff;
}

.guideline-text-wrapper {
    flex-grow: 1;
}
.guideline-point-text {
    font-size: 13px !important;
    color: #374151 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    font-weight: 550 !important;
    text-align: left !important;
}

/* Decorative Dot Grid */
.dot-grid-pattern {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(rgba(37, 99, 235, 0.15) 1.5px, transparent 1.5px);
    background-size: 10px 10px;
    opacity: 0.7;
    pointer-events: none;
}

/* Illustration Box in Right Card */
.illustration-container {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(124, 58, 237, 0.03));
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(37, 99, 235, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 345px;
}

.illustration-avatar {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    z-index: 1;
}

/* Crop/Scanner Corners */
.scanner-bracket {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--primary-blue-redesign);
    border-style: solid;
    border-width: 0;
}
.bracket-tl {
    top: 25px;
    left: 25px;
    border-top-width: 3px;
    border-left-width: 3px;
    border-top-left-radius: 6px;
    z-index: 9;
}
.bracket-tr {
    top: 25px;
    right: 25px;
    border-top-width: 3px;
    border-right-width: 3px;
    border-top-right-radius: 6px;
    z-index: 9;
}
.bracket-bl {
    bottom: 25px;
    left: 25px;
    border-bottom-width: 3px;
    border-left-width: 3px;
    border-bottom-left-radius: 6px;
    z-index: 9;
}
.bracket-br {
    bottom: 25px;
    right: 25px;
    border-bottom-width: 3px;
    border-right-width: 3px;
    border-bottom-right-radius: 6px;
    z-index: 9;
}

/* Safety Info Badge */
.safety-info-badge {
    margin-top: 30px;
    background-color: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.1);
    color: var(--primary-blue-redesign);
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: center;
    justify-content: center;
}

/* Redesigned Get OTP and Inputs */
.input-group-redesign {
    display: flex;
    gap: 12px;
    align-items: center;
}
.input-group-redesign .form_input {
    flex-grow: 1;
    margin-bottom: 0 !important;
}
.input-group-redesign .btn-primary {
    flex-shrink: 0;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue-redesign), var(--secondary-purple-redesign)) !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.18) !important;
    font-size: 13.5px !important;
    padding: 0 24px !important;
}
.input-group-redesign .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28) !important;
}

/* Process Steps */
.process-steps-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 35px;
    margin-bottom: 25px;
    padding: 0 10px;
}
.process-steps-container::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 1px;
    border-top: 1.5px dashed #5d49ec;
    z-index: 1;
}

.process-step-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 30%;
    z-index: 2;
}

.process-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #365beb;
    color: #6843ec;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}
.process-step-item:hover .process-step-icon {
    border-color: var(--secondary-purple-redesign);
    color: var(--secondary-purple-redesign);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.1);
}

.process-step-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 2px;
}
.process-step-desc {
    font-size: 10px;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Feature Highlight Strip */
.feature-highlight-strip {
    background-color: var(--accent-lavender-redesign);
    border: 1px solid rgba(124, 58, 237, 0.08);
    border-radius: 16px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.feature-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 22%;
    min-width: 140px;
}

.feature-badge-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(124, 58, 237, 0.08);
    color: var(--secondary-purple-redesign);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.feature-badge-text {
    display: flex;
    flex-direction: column;
}

.feature-badge-title {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0;
}
.feature-badge-desc {
    font-size: 9px;
    color: var(--text-muted);
    margin: 0;
}

/* Redesigned Camera layout */
.cam-preview-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid var(--border-gray-redesign);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    height: 225px;
    background-color: #000000;
}
.cam-preview-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-indicator-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: #ffffff;
    color: var(--success-green-redesign);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.live-indicator-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--success-green-redesign);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* Captured Image Frame */
.captured-image-frame {
    border-radius: 16px;
    border: 1.5px dashed var(--border-gray-redesign);
    background-color: #F8FAFC;
    height: 225px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.captured-image-frame canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    border-radius: 12px;
}

.captured-image-frame.has-image canvas {
    display: block;
}
.captured-image-frame.has-image .placeholder {
    display: none !important;
}

/* Capture button overrides */
.btn-capture-pill {
    background: linear-gradient(135deg, var(--dark-blue), #1e3a8a) !important;
    border-radius: 50px !important;
    padding: 12px 35px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 6px 16px rgba(11, 27, 83, 0.15) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease !important;
}
.btn-capture-pill:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 8px 22px rgba(11, 27, 83, 0.25) !important;
    background: linear-gradient(135deg, #0e2264, #23439b) !important;
}

/* Dynamic Bootstrap Alert Redesigns */
.login-card-panel .alert-success {
    background-color: rgba(16, 185, 129, 0.08) !important;
    border: 1.5px solid rgba(16, 185, 129, 0.15) !important;
    border-radius: 14px !important;
    padding: 15px 20px !important;
    color: #065F46 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;
    margin-top: 25px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}
.login-card-panel .alert-success::after {
    content: "\F4E6" !important;
    font-family: "bootstrap-icons" !important;
    font-size: 26px !important;
    color: var(--success-green-redesign) !important;
    opacity: 0.9;
    font-style: normal;
    font-weight: normal;
}

.login-card-panel .alert-info {
    background-color: rgba(37, 99, 235, 0.08) !important;
    border: 1.5px solid rgba(37, 99, 235, 0.15) !important;
    border-radius: 14px !important;
    padding: 15px 20px !important;
    color: #1E3A8A !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;
    margin-top: 25px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.login-card-panel .alert-warning {
    background-color: rgba(245, 158, 11, 0.08) !important;
    border: 1.5px solid rgba(245, 158, 11, 0.15) !important;
    border-radius: 14px !important;
    padding: 15px 20px !important;
    color: #78350F !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 15px !important;
    margin-top: 25px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

/* Media Query Adaptations for Redesigned Components */
@media (max-width: 1200px) {
    .guidelines-card {
        padding: 25px !important;
    }
}
@media (max-width: 992px) {
    .feature-highlight-strip {
        justify-content: center;
    }
    .feature-badge-item {
        width: 45%;
    }
}
@media (max-width: 576px) {
    .feature-badge-item {
        width: 100%;
    }
    .input-group-redesign {
        flex-direction: column;
        align-items: stretch;
    }
    .input-group-redesign .btn-primary {
        width: 100% !important;
    }
    .process-steps-container::before {
        display: none;
    }
    .process-step-item {
        width: 100%;
        flex-direction: row;
        text-align: left;
        gap: 15px;
    }
    .process-step-icon {
        margin-bottom: 0;
    }
}

/* ==========================================================
   LOGIN PAGE – CARD WITH ILLUSTRATION REDESIGN
   ========================================================= */

/* --- Left guidelines card --- */
.login-guidelines-card {
    background-color: #ffffff !important;
    border: 1px solid #E5EAF5 !important;
    border-radius: 24px !important;
    padding: 35px 30px !important;
    box-shadow: 0 10px 30px rgba(15, 91, 255, 0.03) !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 520px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Guidelines Badge */
.login-guidelines-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(15, 91, 255, 0.07) !important;
    color: var(--primary-blue) !important;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    margin-bottom: 25px;
    border: 1px solid rgba(15, 91, 255, 0.12) !important;
    align-self: flex-start;
}
.login-guidelines-badge i {
    font-size: 15px;
}

/* Illustration positioned at bottom left */
.login-illustration-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    z-index: 1;
    pointer-events: none;
}
.login-student-img {
    width: 100%;
    height: auto;
    display: block;
    transform: translateY(10px); 
}

/* Instruction List */
.login-instructions-list {
    margin-left: 200px; 
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 2;
    position: relative;
}

.login-guidelines-card .instruction-item-row {
    border-bottom: 1px solid #F0F4FC;
    padding: 14px 0;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s ease;
}
.login-guidelines-card .instruction-item-row:last-child {
    border-bottom: none;
}
.login-guidelines-card .instruction-item-row:hover {
    transform: translateX(4px);
}

.login-guidelines-card .instruction-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(15, 91, 255, 0.08);
    color: var(--primary-blue) !important;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.login-guidelines-card .instruction-item-row:hover .instruction-icon-wrapper {
    background-color: var(--primary-blue);
    color: #ffffff !important;
}

.login-guidelines-card .instruction-text-wrapper {
    flex-grow: 1;
}

.login-guidelines-card .instruction-point-text {
    font-size: 13px !important;
    color: #374151 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    font-weight: 550 !important;
    text-align: left !important;
}

/* --- Right card overrides --- */
.login-header-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
    position: relative;
}

.login-header-icon-wrapper i img{
    width:230px;
}

/* Underlined heading */
.login-main-heading {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: var(--dark-blue) !important;
    position: relative !important;
    padding-bottom: 8px !important;
    margin-bottom: 12px !important;
    text-align: center !important;
    display: inline-block;
}
.login-main-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 2px;
}

.login-subtitle {
    font-size: 13.5px !important;
    color: var(--text-muted) !important;
    margin-bottom: 28px !important;
    text-align: center !important;
}

/* Input Icon Wrappers */
.input-with-icon-wrapper {
    position: relative;
    width: 100%;
}
.input-with-icon-wrapper .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-size: 18px;
    pointer-events: none;
    z-index: 10;
}
.input-with-icon-wrapper .form_input {
    padding-left: 48px !important;
    border-radius: 12px !important;
    border: 1.5px solid var(--border-color) !important;
    font-size: 14px !important;
    height: 50px !important;
    line-height: 50px !important;
    transition: all 0.3s ease !important;
    margin-bottom: 0 !important;
}
.input-with-icon-wrapper .form_input:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 4px rgba(15, 91, 255, 0.08) !important;
}

/* Gradient Buttons */
.btn-get-otp,
.btn-login-redesign {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #004BEC 100%) !important;
    border: none !important;
    border-radius: 50px !important;
    height: 48px !important;
    padding: 0 32px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(15, 91, 255, 0.22) !important;
    transition: all 0.25s ease !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-get-otp:hover,
.btn-login-redesign:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 8px 20px rgba(15, 91, 255, 0.3) !important;
    color: #ffffff !important;
}
.btn-get-otp:active,
.btn-login-redesign:active {
    transform: translateY(0);
}

.btn-login-redesign {
    width: 100% !important;
    justify-content: center;
    margin-top: 15px;
}

/* Secure & Trusted Card */
.security-card {
    display: flex;
    gap: 16px;
    background: linear-gradient(135deg, #EEF2FF 0%, #F5F7FF 100%);
    border: 1px solid rgba(15, 91, 255, 0.1);
    border-radius: 16px;
    padding: 16px 20px;
    align-items: flex-start;
    margin-top: 30px;
    box-shadow: 0 4px 12px rgba(15, 91, 255, 0.02);
}
#left-pane-container {
    position: sticky;
    top: 60px;
}
.security-card-icon {
    color: var(--primary-blue);
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
}
.security-card-content {
    display: flex;
    flex-direction: column;
}
.security-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0 0 3px 0;
}
.security-card-desc {
    font-size: 11.5px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.45;
}

/* Captcha overrides */
#captchaimg {
    border: 1.5px solid var(--border-color) !important;
    border-radius: 10px !important;
    height: 50px !important;
}

/* --- Responsive overrides --- */
@media (max-width: 991px) {
    .login-guidelines-card {
        padding: 30px !important;
        min-height: auto;
    }
    .login-instructions-list {
        margin-left: 0;
    }
    .login-illustration-container {
        position: relative;
        bottom: auto;
        left: auto;
        width: 160px;
        margin: 0 auto 24px;
        display: block;
    }
    .login-student-img {
        transform: none;
    }
}

@media (max-width: 576px) {
    .login-guidelines-badge {
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   FACE REGISTRATION REDESIGN OVERRIDES (Reference Screenshot visual match)
   ========================================================================== */

/* Page background color override */
.login-wrapper-main {
    background-color: #F8FAFC !important;
}

/* Page container tweaks */
.step1index {
    padding-top: 40px;
    padding-bottom: 35px ;
    background: #F8FAFC;
}

/* Guidelines Card (Left Card) */
.guidelines-card {
    background-color: #ffffff !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 24px !important;
    padding: 40px 25px !important;
    box-shadow: 0 10px 40px rgba(11, 27, 83, 0.03) !important;
    position: relative;
    overflow: visible; /* Allows floating tab to stick out */
}

/* Right Panel Card */
.login-card-panel {
    background-color: #ffffff !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 24px !important;
    padding: 40px !important;
    box-shadow: 0 10px 40px rgba(11, 27, 83, 0.03) !important;
    position: relative;
    overflow: visible; /* Allows floating tab to stick out */
}

/* Floating top tabs and illustrations */
.floating-tab-container-left {
    position: absolute;
    top: -28px;
    right: 30px;
    z-index: 10;
    display: flex;
    align-items: flex-end;
}
.floating-tab-container-right {
    position: absolute;
    top: -10px;
    left: 30px;
    z-index: 10;
    display: flex;
    align-items: flex-end;
}

.floating-tab-left {
    background: linear-gradient(135deg, #0F5BFF, #004BEC) !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13.5px;
    padding: 10px 24px;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 12px rgba(15, 91, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
}
.floating-tab-right {
    background: linear-gradient(135deg, #7C3AED, #6D28D9) !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 13.5px;
    padding: 10px 24px;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 12px rgba(124, 58, 237, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Tab illustrations behind the tabs */
.tab-illustration-phone {
    width: 42px;
    margin-right: -10px;
    margin-bottom: -5px;
    z-index: 9;
    transform: rotate(-10deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}
.tab-illustration-laptop {
    width: 52px;
    margin-left: -12px;
    margin-bottom: -4px;
    z-index: 9;
    transform: rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Center vertical divider styling (Desktop) */
.registration-divider-container {
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 33.4%; 
    transform: translateX(-50%);
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
}
.registration-divider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 2px dashed #bfdbfe !important;
    height: 100%;
    opacity: 0.8;
}
.registration-divider-badge {
    position: relative;
    width: 38px;
    height: 38px;
    background-color: #EFF6FF;
    border: 1.5px solid #BFDBFE;
    color: #1D4ED8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    margin-left: -19px;
    margin-top: 140px;
    z-index: 6;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

/* Guidelines Pill Badge */
.guidelines-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #EFF6FF !important;
    color: #2563EB !important;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    margin-bottom: 24px;
    border: 1px solid #DBEAFE !important;
}

/* Left QR Section */
.qr-registration-section {
    border-bottom: 1px dashed #E2E8F0;
    padding-bottom: 24px;
}
.qr-heading-container {
    display: flex;
    align-items: center;
    gap: 12px;
}
.qr-icon-circle-bg {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #EFF6FF;
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.qr-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #0B1B53;
}
.qr-code-card-centered {
    background-color: #ffffff;
    border: 1px solid #F1F5F9;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(11, 27, 83, 0.02);
    display: inline-block;
    width: 210px;
    margin: 20px auto;
}
.qr-image {
    width: 100%;
    height: auto;
}

/* Green Action Button below QR */
.qr-download-btn-green {
    background-color: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 15px;
}
.qr-download-btn-green .left-icon,
.qr-download-btn-green .right-icon {
    font-size: 18px;
    color: #10B981;
}

/* How to Register Steps */
.steps-heading-container {
    display: flex;
    align-items: center;
    gap: 8px;
}
.steps-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #2563EB;
}
.vertical-steps-list {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-left: 0px;
    margin-top: 20px;
}
.vertical-steps-list::before {
    content: "";
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 22px;
    width: 1.5px;
    border-left: 1.5px dotted #345cec;
    z-index: 1;
}
.step-vertical-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}
.step-num-badge {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #0F5BFF;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -8px;
    top: 0px;
    box-shadow: 0 2px 4px rgba(15, 91, 255, 0.2);
}
.step-icon-container {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #EFF6FF;
    color: #2563EB;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 0px;
    border: 1px solid #DBEAFE;
}
.step-content {
    margin-left: 14px;
}
.step-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #0B1B53;
}
.step-desc {
    font-size: 11.5px;
    color: #6C7A9C;
    line-height: 1.4;
}

/* Right Web Portal elements */
.right-panel-header {
    margin-bottom: 12px;
}
.right-panel-title {
    font-size: 24px;
    font-weight: 700;
    color: #0B1B53;
    margin-bottom: 4px;
}
.right-panel-subtitle {
    font-size: 13.5px;
    color: #6C7A9C;
}

/* Avatar Illustration Card */
.illustration-container {
    background: #F0F6FF !important;
    border-radius: 20px !important;
    padding: 10px !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 230px !important;
    min-height: auto !important;
    overflow: hidden;
    border: 1px solid #DBEAFE !important;
}
.illustration-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    z-index: 1;
}
.scanner-bracket {
    border-color: #2563EB !important;
    width: 18px;
    height: 18px;
    border-width: 0;
    position: absolute;
    z-index: 10;
}
.bracket-tl { top: 12px; left: 12px; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 4px; }
.bracket-tr { top: 12px; right: 12px; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 4px; }
.bracket-bl { bottom: 12px; left: 12px; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 4px; }
.bracket-br { bottom: 12px; right: 12px; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 4px; }

.safety-info-badge {
    margin-top: 10px;
    background-color: #EFF6FF !important;
    border: 1px solid #DBEAFE !important;
    color: #2563EB !important;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 11.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Inputs and Form column styling */
.label-text {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0B1B53 !important;
    margin-bottom: 6px !important;
}
.form_input {
    border: 1px solid #CBD5E1 !important;
    border-radius: 10px !important;
    font-size: 13.5px !important;
    padding-left: 16px !important;
    height: 46px !important;
    transition: all 0.2s ease !important;
    margin-bottom: 12px !important;
}
.form_input:focus {
    border-color: #2563EB !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}
.input-group-redesign {
    display: flex;
    gap: 10px;
}
.input-group-redesign .form_input {
    flex-grow: 1;
    margin-bottom: 0 !important;
}
.input-group-redesign .btn-primary {
    background: linear-gradient(135deg, #2563EB, #7C3AED) !important;
    border: none !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 0 22px !important;
    height: 46px !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
}
.input-group-redesign .btn-primary:hover {
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25) !important;
    transform: translateY(-1px);
}

/* Horizontal Timeline steps */
.process-steps-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 24px;
    margin-bottom: 10px;
    padding: 0 2%;
}
.process-steps-container::before {
    content: "" !important;
    position: absolute !important;
    top: 18px !important;
    left: 15% !important;
    right: 15% !important;
    height: 1px !important;
    border-top: 1.5px dotted #CBD5E1 !important;
    z-index: 1 !important;
}
.process-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 32%;
    z-index: 2;
}
.process-step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1.5px solid #2563EB !important;
    color: #2563EB !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.process-step-icon.icon-purple {
    border-color: #7C3AED !important;
    color: #7C3AED !important;
}
.process-step-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #0B1B53 !important;
    margin-bottom: 2px !important;
}
.process-step-desc {
    font-size: 10px !important;
    color: #6C7A9C !important;
    line-height: 1.3 !important;
}

/* Important Instructions Card styling */
.important-instructions-card {
    background-color: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 20px;
    margin-top: 24px;
    box-shadow: 0 4px 15px rgba(11, 27, 83, 0.01);
}
.important-instructions-card .instructions-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.important-instructions-card .instructions-header i {
    font-size: 18px;
    color: #2563EB;
}
.important-instructions-card .instructions-main-title {
    font-size: 15px;
    font-weight: 700;
    color: #2563EB;
}
.instruction-col-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 10px;
}
.instruction-col-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #EFF6FF;
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 10px;
}
.instruction-col-title {
    font-size: 13px;
    font-weight: 700;
    color: #0B1B53;
    margin-bottom: 6px;
}
.instruction-col-desc {
    font-size: 11px;
    color: #6C7A9C;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}
.instruction-separator {
    width: 1px;
    background-color: #E2E8F0;
    height: auto;
    align-self: stretch;
}

/* Bottom Trust Bar (4-items highlight) */
.feature-highlight-strip {
    background-color: #FAF5FF !important;
    border: 1px solid #F3E8FF !important;
    border-radius: 16px !important;
    padding: 16px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    gap: 8px;
}
.feature-badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 24%;
}
.feature-badge-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #F3E8FF !important;
    color: #7C3AED !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.feature-badge-text {
    display: flex;
    flex-direction: column;
}
.feature-badge-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #0B1B53 !important;
    margin: 0 !important;
}
.feature-badge-desc {
    font-size: 10px !important;
    color: #6C7A9C !important;
    margin: 0 !important;
}

/* Camera Live View Panel Styles */
.cam-preview-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid #E2E8F0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    height: 250px;
	width: 250px;
    background-color: #000000;
}
.cam-preview-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.live-indicator-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: #ffffff;
    color: #10B981;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.live-indicator-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10B981;
    animation: pulse 1.5s infinite;
}
.captured-image-frame {
    border-radius: 16px;
    border: 1.5px dashed #CBD5E1;
    background-color: #F8FAFC;
    height: 250px;
	width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}
.btn-capture-pill {
    background: linear-gradient(135deg, #0F5BFF, #7C3AED) !important;
    border-radius: 50px !important;
    padding: 12px 35px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(15, 91, 255, 0.2) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease !important;
}
.btn-capture-pill:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 6px 16px rgba(15, 91, 255, 0.3) !important;
}

/* Submit and register next button adjustments */
.next-btn {
    width: 100% !important;
    height: 46px !important;
    margin-top: 15px !important;
}
.next-btn button {
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, #0F5BFF, #7C3AED) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    box-shadow: 0 4px 12px rgba(15, 91, 255, 0.2) !important;
    transition: all 0.2s ease !important;
}
.next-btn button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 91, 255, 0.28) !important;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .registration-divider-container {
        display: none !important;
    }
    .registration-divider-horizontal {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 30px 0;
        position: relative;
    }
    .registration-divider-horizontal-line {
        position: absolute;
        left: 0;
        right: 0;
        border-top: 2px dashed #bfdbfe;
        opacity: 0.8;
        z-index: 1;
    }
    .registration-divider-horizontal-badge {
        width: 38px;
        height: 38px;
        background-color: #EFF6FF;
        border: 1px solid #BFDBFE;
        color: #1D4ED8;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
        font-weight: 800;
        z-index: 2;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
    }
    .floating-tab-container-left,
    .floating-tab-container-right {
        position: static;
        margin: 0;
        display: flex;
        justify-content: center;
        margin-bottom: 15px;
    }
    .floating-tab-left,
    .floating-tab-right {
        border-radius: 12px !important;
    }
    .tab-illustration-phone,
    .tab-illustration-laptop {
        display: none !important; /* Hide floating illustration overlays on mobile viewports for clean spacing */
    }
    .feature-highlight-strip {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .feature-badge-item {
        width: 45%;
    }
}

@media (max-width: 576px) {
    .feature-badge-item {
        width: 100%;
    }
    .instruction-separator {
        display: none;
    }
    .important-instructions-card .row {
        flex-direction: column;
        gap: 20px;
    }
    .input-group-redesign {
        flex-direction: column;
    }
    .input-group-redesign .btn-primary {
        width: 100%;
    }
}

.registration-choice-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #fff;
    border: 1px solid #e5eaf5;
    border-radius: 18px;
    padding: 12px 25px 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    position: relative;
    margin-bottom: 38px;
}

.choice-option {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 260px;
}

.choice-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    flex-shrink: 0;
}

.mobile-option .choice-icon {
    background: linear-gradient(135deg,#0d6efd,#3f8cff);
}

.web-option .choice-icon {
    background: linear-gradient(135deg,#8b5cf6,#a855f7);
}

.choice-content h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #1d2b53;
}

.choice-content p {
    margin: 4px 0 0;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

.choice-center {
    text-align: center;
    flex: 1;
    position: relative;
}

.choice-center h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1d2b53;
}

.choice-center p {
    margin: 8px 0 20px;
    color: #64748b;
    font-size: 12px;
}

.choice-divider {
    position: relative;
    margin-top: -10px;
}

.choice-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 2px dashed #d8e2ff;
}

.choice-divider span {
    position: relative;
    background: #fff;
    border: 2px solid #d8e2ff;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    color: #1d4ed8;
    z-index: 2;
}

@media (max-width: 768px) {
    .registration-choice-card {
       flex-direction: column;
       padding: 25px 15px;
    }
    .registration-divider-horizontal {
        margin: 0px 0;
    }

    .qr-download-btn-green {
        gap: 40px;
    }

    .login-illustration-container {
        display: none;
    }

    .login_row {
        flex-direction:column-reverse;
        gap: 20px;
    }

}
