* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --bg-primary: #06080f;
    --bg-glass: rgba(18, 25, 45, 0.82);
    --border-medium: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.18);
    --text-primary: #f1f5f9;
    --text-secondary: #a0afc3;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.4);
    --red: #f87171;
    --green: #34d399;
    --gold: #fbbf24;
    --radius-lg: 12px;
    --radius-md: 8px;
    --transition: 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
    overflow-x: hidden;
}
a {text-decoration:none!important;}
/* animated orbs */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
}
.orb1 {
    width: 520px;
    height: 520px;
    background: #4f46e5;
    top: -20%;
    left: -15%;
    animation: float1 20s infinite alternate;
}
.orb2 {
    width: 460px;
    height: 460px;
    background: #8b5cf6;
    bottom: -18%;
    right: -12%;
    animation: float2 22s infinite alternate-reverse;
}
.orb3 {
    width: 340px;
    height: 340px;
    background: #06b6d4;
    top: 45%;
    left: 15%;
    animation: float3 24s infinite alternate;
    opacity: 0.3;
}
@keyframes float1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(70px, -50px) scale(1.1);
    }
}
@keyframes float2 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-60px, 40px) scale(1.15);
    }
}
@keyframes float3 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(40px, 60px) scale(0.95);
    }
}
.auth-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}
.auth-card {
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 2.2rem 2rem 2.4rem;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.5), 0 0 0 0.5px rgba(255,255,255,0.02) inset;
    transition: transform 0.2s;
}
.swal2-popup {
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.5), 0 0 0 0.5px rgba(255,255,255,0.02) inset;
    transition: transform 0.2s;
}
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(35px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.auth-card {
    animation: fadeSlideUp 0.55s ease-out;
}
.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1.6rem;
}
.auth-logo i {
    font-size: 2.2rem;
    background: linear-gradient(145deg, #a5b4fc, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.auth-logo span {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    background: linear-gradient(112deg, #ffffff, #c7d2fe);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.auth-logo img {
    width:70%;
}
/* ✨ IMPROVED INPUT GROUP – PERFECT BLEND, NO SHAPE MISMATCH ✨ */
.input-group {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.2s;
}
.input-group .form-control {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1.5px solid var(--border-medium) !important;
    border-right: none !important;
    /* blend with button */
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 8px 0 0 8px !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.otp-info {
    color:#fff;text-size:12px;
}
.swal2-input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1.5px solid var(--border-medium) !important;
    border-radius: 8px !important;
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    text-align: center;
    letter-spacing: 15px;
    border-radius: 8px !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.input-group .btn {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1.5px solid var(--border-medium) !important;
    border-left: none !important;
    /* attach smoothly */
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0 !important;
    transition: all 0.2s;
    cursor: pointer;
}
/* hover + focus states: consistent blending */
.input-group .form-control:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
    background: rgba(99, 102, 241, 0.04) !important;
    outline: none;
    z-index: 2;
}
.swal2-input:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
    background: rgba(99, 102, 241, 0.04) !important;
    outline: none;
    z-index: 2;
}
.input-group .btn: focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
    border-color: var(--accent) !important;
    outline: none;
    z-index: 2;
}
.input-group: hover .form-control,
.input-group:hover .btn {
    border-color: rgba(255, 255, 255, 0.22) !important;
}
.input-group .btn: hover {
    background: rgba(99, 102, 241, 0.2) !important;
    color: white;
}
/* regular inputs (non-group) */
.form-control {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1.5px solid var(--border-medium) !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem;
    color: white;
    font-weight: 500;
}
.form-control: focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2) !important;
    background: rgba(99, 102, 241, 0.04) !important;
    color: white;
}
.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    letter-spacing: 0.3px;
    color: #cbd5e6;
}
.invalid-feedback {
    font-size: 0.75rem;
    color: #fca5a5;
    margin-top: 0.3rem;
}
.form-control.is-invalid {
    border-color: var(--red) !important;
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2);
}
/* strength bars */
.strength-bars {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}
.strength-bars .bar {
    height: 5px;
    flex: 1;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
}
.bar.active.weak {
    background: #f97316;
}
.bar.active.medium {
    background: #facc15;
}
.bar.active.strong {
    background: #4ade80;
    box-shadow: 0 0 5px #4ade80;
}
#strengthText {
    font-size: 0.7rem;
    font-weight: 500;
    margin-top: 5px;
}
.btn-prime {
    background: linear-gradient(105deg, #6366f1, #8b5cf6) !important;
    border: none;
    color:#fff;
    font-weight: 700;
    padding: 0.85rem;
    border-radius: 8px;
    font-size: 1rem;
    box-shadow: 0 6px 20px var(--accent-glow);
    transition: all 0.2s ease;
}
.btn-prime: hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.5);
    background: linear-gradient(105deg, #7c3aed, #6366f1) !important;
}
.form-check-input: checked {
    background-color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3);
}
a {
    color: var(--accent-light);
    font-weight: 500;
}
a: hover {
    color: #a5b4fc;
}
hr {
    background-color: var(--border-medium);
}
/* custom checkbox spacing */
.form-check {
    padding-left: 1.7em;
}
.form-check-input {
    margin-top: 0.2em;
}
@media (max-width: 480px) {
    .auth-card {
        padding: 1.8rem 1.5rem;
    }
    .auth-logo span {
        font-size: 1.6rem;
    }
}