/* Extracted from login.html */
body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Fira Sans', sans-serif;
}

/* Background with soft glow accents */
.auth-page-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
    overflow: hidden;
}

/* Yellow + Green glowing blobs */
.auth-page-wrapper::before,
.auth-page-wrapper::after {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.25;
    z-index: 0;
}

.auth-page-wrapper::before {
    background: var(--yellow-accent);
    top: -150px;
    left: -150px;
}

.auth-page-wrapper::after {
    background: var(--green-accent);
    bottom: -150px;
    right: -150px;
}

/* Center content column */
.auth-container {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    max-width: 420px;
    width: 90%;
}

/* === Logo + title styles (Massive size preserved) === */
.auth-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.auth-logo img {
    /* ADJUSTED SIZE: Reduced to 150px for a more balanced, centered look */
    height: 150px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.auth-logo h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--yellow-accent);
    letter-spacing: 1px;
}

/* === END Logo styles === */

/* Welcome heading */
.auth-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--white);
}

.auth-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

/* Glass login card */
.contact-panel {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    padding: 40px 35px;
    color: var(--white);
    text-align: left;
}

.form-group label {
    color: var(--white);
    font-weight: 500;
}

.form-control {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    height: 50px;
    color: #0a1a3f;
    font-weight: 500;
}

.form-control::placeholder {
    color: #7c8590;
}

/* Keep existing button styles */
.btn__primary {
    margin-top: 5px;
}

/* Links */
.contact-panel a {
    color: var(--yellow-accent);
    font-weight: 600;
}

.contact-panel a:hover {
    color: var(--green-accent);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        max-width: 95%;
    }

    .contact-panel {
        padding: 30px 25px;
    }

    .auth-header h2 {
        font-size: 24px;
    }

    /* Mobile Positioning Adjustment for Back Button */
    .btn-back.top-left-fixed {
        top: 15px;
        left: 15px;
    }

    /* Mobile logo size adjustment (Reduced to 100px) */
    .auth-logo img {
        height: 100px;
    }
}

.btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 130px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #fee023;
    cursor: pointer;
    transition: all 0.12s ease-out !important;
    margin-bottom: 14px;
}

.btn-back:hover {
    border-color: #fee023;
    box-shadow: 0 0 10px rgba(254, 224, 35, 0.45);
    transform: translateY(-2px);
}

/* === Positioning for Top-Left Corner (New Style) === */
.btn-back.top-left-fixed {
    position: absolute;
    top: 30px;
    left: 30px;
    margin-bottom: 0;
    z-index: 100;
}

/* Sparkle base style */
.sparkle {
    position: absolute;
    background: radial-gradient(circle, #fee023 30%, rgba(254, 224, 35, 0.2) 80%);
    border-radius: 50%;
    pointer-events: none;
    filter: drop-shadow(0 0 6px #fee023);
    opacity: 1;
    transform-origin: center;
    animation: sparkleFade 0.8s ease-out forwards;
    z-index: 9999;
}

@keyframes sparkleFade {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.3);
        opacity: 0;
    }
}

.shine-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 3;
}

/* Star shape using clip-path (five-pointed star) */
.shine-star {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #f5e16e;
    /* yellow */
    clip-path: polygon(50% 0%,
            61% 35%,
            98% 35%,
            68% 57%,
            79% 91%,
            50% 70%,
            21% 91%,
            32% 57%,
            2% 35%,
            39% 35%);
    filter: drop-shadow(0 0 6px #fee023);
    opacity: 0.9;
    animation: starBlink 4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes starBlink {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.9;
    }

    40% {
        transform: scale(1.4) rotate(15deg);
        opacity: 0;
    }

    60% {
        transform: scale(0.8) rotate(-15deg);
        opacity: 0;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.9;
    }
}
@media (max-width: 575.98px) {
    .d-flex{
        flex-direction: column !important;
    }
}