/*
====================================================================
File: /css/login.css
Last Modified: 2026-03-22 21:05:00 America/New_York
====================================================================
*/

html,
body {
    min-height: 100%;
}

body.login-body {
    margin: 0;
    font-family: "Trebuchet MS", "Verdana", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.85) 0, rgba(255, 255, 255, 0) 28%),
        radial-gradient(circle at bottom right, rgba(255, 245, 200, 0.7) 0, rgba(255, 255, 255, 0) 32%),
        linear-gradient(135deg, #ffd6f4 0%, #ffe6fb 24%, #ffdff0 45%, #dff7ff 73%, #fff3c8 100%);
    color: #5d315d;
}

.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 18px;
    box-sizing: border-box;
}

.login-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    padding: 38px 30px 30px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        0 20px 60px rgba(188, 101, 166, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.login-brand {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.brand-kicker {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d35ca2;
    margin-bottom: 8px;
}

.login-brand h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: 0.05em;
    color: #b14492;
    text-shadow: 0 2px 0 rgba(255, 255, 255, 0.7);
}

.brand-subtitle {
    margin: 12px auto 0;
    max-width: 360px;
    font-size: 1rem;
    line-height: 1.6;
    color: #7c5074;
}

.login-form {
    position: relative;
    z-index: 2;
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #95417f;
}

.form-field input {
    width: 100%;
    box-sizing: border-box;
    border: 2px solid #f3c0df;
    border-radius: 18px;
    padding: 14px 16px;
    font-size: 1rem;
    color: #5d315d;
    background: rgba(255, 255, 255, 0.95);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    outline: none;
}

.form-field input::placeholder {
    color: #c08cb3;
}

.form-field input:focus {
    border-color: #db72b4;
    box-shadow: 0 0 0 5px rgba(230, 137, 191, 0.18);
    transform: translateY(-1px);
}

.login-button {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 15px 18px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(135deg, #ff79c6 0%, #ff9bcf 34%, #c68bff 100%);
    box-shadow:
        0 14px 26px rgba(199, 100, 173, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.login-button:hover,
.login-button:focus {
    transform: translateY(-2px);
    box-shadow:
        0 18px 30px rgba(199, 100, 173, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
    filter: brightness(1.03);
}

.login-footer {
    position: relative;
    z-index: 2;
    margin-top: 18px;
    text-align: center;
    color: #8f5d83;
    font-size: 0.95rem;
}

.login-alert {
    position: relative;
    z-index: 2;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.login-alert-error {
    background: rgba(255, 232, 239, 0.95);
    border: 1px solid #f5b1c8;
    color: #a63b67;
}

.login-alert-notice {
    background: rgba(237, 246, 255, 0.95);
    border: 1px solid #b9dbff;
    color: #486b96;
}

.login-decor {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.login-decor-star {
    width: 22px;
    height: 22px;
    background: #fff1a8;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 93%, 50% 71%, 21% 93%, 32% 57%, 2% 35%, 39% 35%);
    box-shadow: 0 0 16px rgba(255, 235, 135, 0.75);
}

.login-decor-heart {
    width: 24px;
    height: 24px;
    transform: rotate(-45deg);
    background: #ff9dcb;
    border-radius: 5px 0 0 0;
}

.login-decor-heart::before,
.login-decor-heart::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    background: #ff9dcb;
    border-radius: 50%;
}

.login-decor-heart::before {
    top: -12px;
    left: 0;
}

.login-decor-heart::after {
    top: 0;
    left: 12px;
}

.login-decor-bubble {
    border-radius: 999px;
    background: rgba(255, 180, 217, 0.35);
    filter: blur(1px);
}

.star-1 {
    top: 22px;
    left: 28px;
}

.star-2 {
    right: 32px;
    top: 76px;
}

.heart-1 {
    top: 32px;
    right: 78px;
}

.heart-2 {
    left: 54px;
    bottom: 64px;
}

.bubble-1 {
    width: 110px;
    height: 110px;
    top: -28px;
    right: -24px;
}

.bubble-2 {
    width: 90px;
    height: 90px;
    bottom: -18px;
    left: -16px;
}

@media (max-width: 640px) {
    .login-card {
        padding: 30px 20px 24px;
        border-radius: 24px;
    }

    .brand-subtitle {
        font-size: 0.95rem;
    }

    .form-field input {
        padding: 13px 14px;
    }
}