:root {
    /* Exact Color Swatch Matches From Your Logo & Login Page */
    --primary-color: #00aeef;      /* Vibrant Sky Blue */
    --primary-dark: #005a9c;       /* Cap and gown deep navy */
    --primary-hover: #0099d4;      /* Slightly deeper blue for hover actions */
    --bg-gradient: linear-gradient(135deg, #0d1b2a 0%, #005a9c 50%, #00aeef 100%);
    --text-color: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --error-color: #ef4444;
    --success-color: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Sizing updated to match your exact login card specifications */
.login-container {
    background: rgba(255, 255, 255, 0.98);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-wrapper {
    width: 200px;
    height: 100px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    background: #fff;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20%;
}

.brand-header h1 {
    font-size: 30px;
    color: var(--primary-dark);
    font-weight: 800;
    letter-spacing: 0.5px;
}

.brand-header h1 span {
    color: var(--primary-color);
}

.brand-header p {
    color: var(--text-light);
    font-size: 13px;
    margin-top: 5px;
    font-weight: 500;
}

/* ============================================================================
   MAXIMIZED WIDTH FLEX LAYOUT SYSTEM (Keeps email completely visible)
   ============================================================================ */
.input-block-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
    width: 100%;
}

.input-group {
    position: relative;
    width: 100%;
}

#credentialsStepSection .input-group {
    margin-bottom: 20px;
}

.input-group > i.fa-envelope,
.input-group > i.fa-key,
.input-group > i.fa-lock {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    transition: color 0.3s ease;
    pointer-events: none;
    z-index: 2;
}

/* Email field now gets full width padding block coverage */
.input-group input {
    width: 100%;
    padding: 15px 16px 15px 48px; 
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #f9fafb;
    color: var(--text-color);
}

.input-group input:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.15);
}

.input-group input:focus ~ i {
    color: var(--primary-color);
}

.input-group .toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease;
    z-index: 2;
}

.input-group .toggle-password:hover {
    color: var(--primary-color);
}

/* ============================================================================
   OTP ACTION BUTTONS (Matches Login Button Styling & Interactions Exactly)
   ============================================================================ */
.btn-otp-action {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color); 
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 174, 239, 0.2);
    outline: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease;
}

.btn-otp-action:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 7px 20px rgba(0, 174, 239, 0.4);
}

.btn-otp-action:active {
    transform: scale(0.98);
}

.btn-otp-action:disabled {
    background-color: #bce7f7;
    box-shadow: none;
    cursor: not-allowed;
    color: white;
    transform: none;
}

/* ============================================================================
   MAIN SUBMISSION ACTION BUTTON
   ============================================================================ */
.btn-login {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
}

.btn-login:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 7px 20px rgba(0, 174, 239, 0.4);
}

.btn-login:active {
    transform: scale(0.98);
}

.btn-login:disabled {
    background-color: #bce7f7;
    box-shadow: none;
    cursor: not-allowed;
}

/* ============================================================================
   LAYOUT FOOTERS & DECORATIONS
   ============================================================================ */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: var(--text-light);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1.5px solid var(--border-color);
}
.divider:not(:empty)::before { margin-right: 1em; }
.divider:not(:empty)::after { margin-left: 1em; }

.feedback-board {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    min-height: 20px;
}
.feedback-board.error-state { color: var(--error-color); }
.feedback-board.success-state { color: var(--success-color); }

.signup-footer {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 25px;
}

.signup-footer a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.signup-footer a:hover {
    color: var(--primary-color);
}