/* ==========================================================================
   Admin Login Experience
   ========================================================================== */
.lyk-login-page {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    background: radial-gradient(circle at top, rgba(107, 35, 176, 0.35), rgba(11, 17, 36, 0.95));
    overflow: hidden;
    font-family: "Poppins", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.login-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.login-background .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.7;
    animation: floatShape 18s ease-in-out infinite;
}

.login-background .shape-1 {
    width: 220px;
    height: 220px;
    background: rgba(107, 35, 176, 0.8);
    top: 5%;
    left: 12%;
}

.login-background .shape-2 {
    width: 180px;
    height: 180px;
    background: rgba(110, 195, 195, 0.7);
    top: 12%;
    right: 10%;
    animation-delay: 2s;
}

.login-background .shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(249, 77, 155, 0.75);
    bottom: 8%;
    left: 5%;
    animation-delay: 4s;
}

.login-background .shape-4 {
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.15);
    bottom: 15%;
    right: 15%;
    animation-delay: 6s;
}

.login-background .shape-5 {
    width: 110px;
    height: 110px;
    background: rgba(110, 195, 195, 0.55);
    top: 45%;
    left: 45%;
    animation-delay: 8s;
}

.login-container {
    position: relative;
    width: min(1100px, 100%);
    z-index: 1;
}

.login-card {
    width: min(520px, 100%);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 25px 60px rgba(14, 11, 29, 0.35),
        0 0 40px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.login-card__brand {
    display: none;
}

.login-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.login-brand-badge .bi {
    font-size: 1rem;
}

.login-brand-logo img {
    max-width: 220px;
    height: auto;
}

.login-brand-title {
    font-size: clamp(1.75rem, 3vw, 2.2rem);
    font-weight: 600;
    line-height: 1.2;
}

.login-brand-copy {
    max-width: 34ch;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.login-highlights li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.95rem;
}

.login-highlights li:last-child {
    border-bottom: 0;
}

.login-highlights .bi {
    font-size: 1.25rem;
}

.login-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.login-stat-grid div {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.login-stat-grid span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: normal;
    margin-bottom: 0.25rem;
}

.login-card__form {
    padding: clamp(2.25rem, 5vw, 3rem);
    background: #ffffff;
}

.login-logo .logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--lyk-purple, #6b23b0);
}

.login-logo__image {
    max-width: 180px;
    height: auto;
    display: inline-block;
}

.login-form .form-label {
    font-weight: 600;
    color: #1c1c28;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.login-form .form-control {
    border-radius: 16px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(107, 35, 176, 0.2);
    background: #f8f9fd;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-form .form-control:focus {
    border-color: var(--lyk-purple, #6b23b0);
    box-shadow: 0 0 0 0.2rem rgba(107, 35, 176, 0.15);
    background: #fff;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-10%);
    background: none;
    border: none;
    color: #6b6b7a;
    padding: 0.25rem;
}

.remember-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
    font-weight: 500;
}

.remember-check .form-check-input {
    margin-top: 0;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 6px;
    border-color: rgba(107, 35, 176, 0.4);
}

.btn-login {
    background: linear-gradient(120deg, var(--lyk-purple, #6b23b0), var(--lyk-pink, #f94d9b));
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 0.95rem 1.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(107, 35, 176, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    color: #fff;
}

.btn-login:hover,
.btn-login:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 25px 40px rgba(107, 35, 176, 0.4);
    filter: brightness(1.05);
}

.btn-login:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.55);
    outline-offset: 3px;
}

.btn-login:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.login-messages .alert {
    border-radius: 14px;
    margin-bottom: 1rem;
}

.login-resend-card {
    border-radius: 18px;
    background: #f2f2ff;
    border-color: rgba(107, 35, 176, 0.15);
}

.login-form-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6c6c7a;
}

.login-form-meta a {
    color: var(--lyk-purple, #6b23b0);
    font-weight: 600;
}

.forgot-link {
    font-weight: 600;
    color: var(--lyk-purple, #6b23b0);
}

.login-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    color: #7a7a8c;
}

.fun-icons {
    display: flex;
    gap: 0.75rem;
    color: var(--lyk-pink, #f94d9b);
    font-size: 1.15rem;
}

.fun-icons span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(249, 77, 155, 0.15);
}

@media (max-width: 576px) {
    .lyk-login-page {
        padding: 2rem 1rem;
    }

    .login-card__form {
        padding: 2rem 1.5rem;
    }
}

@keyframes floatShape {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-background .shape {
        animation: none;
    }

    .btn-login {
        transition: none;
    }
}
