.login-page {
    padding: 20px 0 12px;
}

.login-shell {
    max-width: 860px;
    margin: 0 auto;
}

.login-card {
    position: relative;
    overflow: hidden;
    padding: 40px 38px;
    border-radius: 30px;
    background:
            radial-gradient(circle at top right, rgba(145, 190, 255, 0.22), transparent 34%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.68));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 22px 45px rgba(111, 146, 205, 0.18);
}

.login-card::before,
.login-card::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.login-card::before {
    width: 180px;
    height: 180px;
    top: -70px;
    right: -50px;
    background: radial-gradient(circle, rgba(145, 188, 255, 0.28), transparent 68%);
}

.login-card::after {
    width: 160px;
    height: 160px;
    bottom: -85px;
    left: -55px;
    background: radial-gradient(circle, rgba(143, 223, 203, 0.18), transparent 70%);
}

.login-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(123, 165, 230, 0.14);
    color: #5270a0;
    font-weight: 800;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    margin-bottom: 16px;
}

.login-card h1 {
    font-size: 2.35rem;
    color: #27416b;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.login-description {
    color: #5f7192;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 26px;
    position: relative;
    z-index: 1;
}

.login-alert {
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-weight: 600;
}

.login-alert-success {
    background: rgba(115, 208, 170, 0.18);
    color: #25795a;
    border: 1px solid rgba(74, 165, 125, 0.28);
}

.login-alert-error {
    background: rgba(234, 142, 159, 0.14);
    color: #a04256;
    border: 1px solid rgba(214, 112, 132, 0.24);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    z-index: 1;
}

.login-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-form .form-field label {
    font-weight: 700;
    color: #405778;
}

.login-form .form-field label span {
    color: #de607b;
}

.login-form .form-field input {
    width: 100%;
    border: 1px solid rgba(124, 153, 196, 0.35);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    padding: 15px 16px;
    font-size: 1rem;
    color: #253a62;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.login-form .form-field input:focus {
    border-color: #7fa9e5;
    box-shadow: 0 0 0 4px rgba(127, 169, 229, 0.14);
    transform: translateY(-1px);
}

.login-form .field-hint {
    color: #7284a5;
    font-size: 0.88rem;
    line-height: 1.5;
}

.login-form .field-error {
    color: #c44864;
    font-size: 0.9rem;
    font-weight: 600;
}

.login-form .field-hint.is-match {
    color: #2f8c68;
}

.login-form .field-hint.is-mismatch {
    color: #c44864;
}

.login-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 8px;
}

.login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    border: none;
    border-radius: 14px;
    padding: 15px 22px;
    font-weight: 800;
    font-size: 0.98rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.login-button:hover {
    transform: translateY(-1px);
}

.login-button-primary {
    background: linear-gradient(180deg, #89b2f0, #6d9ee7);
    color: #ffffff;
    box-shadow: 0 12px 22px rgba(109, 158, 231, 0.22);
}

.login-button-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.login-button-secondary {
    background: rgba(255, 255, 255, 0.82);
    color: #496181;
    border: 1px solid rgba(124, 153, 196, 0.28);
}

.social-login-panel {
    position: relative;
    z-index: 1;
    margin-top: 22px;
}

.social-login-divider {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.social-login-divider::before {
    content: "";
    position: absolute;
    inset: 50% 0 auto;
    border-top: 1px solid rgba(124, 153, 196, 0.24);
}

.social-login-divider span {
    position: relative;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.92);
    color: #8090ae;
    font-size: 0.88rem;
    font-weight: 700;
}

.social-login-description {
    margin-bottom: 14px;
    color: #66789c;
    font-size: 0.94rem;
    line-height: 1.5;
    text-align: center;
}

.social-login-panel .g_id_signin {
    display: flex;
    justify-content: center;
}

.social-login-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.social-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 340px;
    max-width: 100%;
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.social-login-button:hover {
    transform: translateY(-1px);
}

.social-login-button--kakao {
    background: #fee500;
    color: #191600;
    box-shadow: 0 12px 22px rgba(245, 201, 0, 0.22);
}

.social-login-button--naver {
    background: #03c75a;
    color: #ffffff;
    box-shadow: 0 12px 22px rgba(3, 199, 90, 0.22);
}

.social-login-button__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(25, 22, 0, 0.12);
    font-size: 0.95rem;
    font-weight: 900;
}

.social-login-button__badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-login-button__badge--naver {
    background: rgba(255, 255, 255, 0.14);
}

.social-login-button__badge--naver img {
    width: 86%;
    height: 86%;
}

@media (max-width: 768px) {
    .login-card {
        padding: 26px 18px;
        border-radius: 22px;
    }

    .login-card h1 {
        font-size: 1.8rem;
    }

    .login-actions {
        justify-content: stretch;
    }

    .login-button {
        width: 100%;
    }

    .social-login-button {
        width: 100%;
    }
}

