﻿/* =========================================================
   /css/admin_login.css
   YES_RAD 관리자 로그인 전용 CSS
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
    background:
        radial-gradient(circle at 18% 20%, rgba(37, 99, 235, 0.28), transparent 28%),
        radial-gradient(circle at 80% 12%, rgba(14, 165, 233, 0.22), transparent 32%),
        linear-gradient(135deg, #020617 0%, #0f172a 42%, #1e293b 100%);
    color: #111827;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.login-shell {
    width: 100%;
    max-width: 1040px;
    display: grid;
    grid-template-columns: 1fr 430px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(14px);
}

.login-visual {
    padding: 46px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 560px;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.32), rgba(2, 6, 23, 0.1)),
        rgba(15, 23, 42, 0.32);
}

.login-brand-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #bfdbfe;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.login-visual-title {
    margin: 24px 0 0;
    font-size: 38px;
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -0.07em;
}

.login-visual-desc {
    margin: 16px 0 0;
    max-width: 480px;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.75;
    font-weight: 600;
}

.login-feature-list {
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.login-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 800;
}

.login-feature-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #60a5fa;
    box-shadow: 0 0 0 5px rgba(96, 165, 250, 0.16);
}

.login-visual-footer {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 700;
}

.login-card {
    background: #ffffff;
    padding: 46px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-logo {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
}

.login-logo img {
    max-height: 46px;
    max-width: 220px;
    display: block;
}

.login-logo-text {
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -0.06em;
    color: #0f172a;
}

.login-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -0.06em;
    color: #0f172a;
}

.login-desc {
    margin: 9px 0 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.65;
    font-weight: 600;
}

.login-form {
    margin-top: 30px;
}

.login-form-group {
    margin-bottom: 17px;
}

.login-label {
    display: block;
    margin-bottom: 8px;
    color: #1e293b;
    font-size: 14px;
    font-weight: 900;
}

.login-input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    background: #ffffff;
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.login-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.13);
}

.login-option-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 22px;
}

.login-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #475569;
    font-size: 14px;
    font-weight: 800;
}

.login-check input {
    width: 16px;
    height: 16px;
}

.login-home-link {
    color: #2563eb;
    font-size: 14px;
    font-weight: 900;
}

.login-button {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 15px;
    background: #2563eb;
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
    transition: background 0.15s ease, transform 0.15s ease;
}

.login-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.login-notice {
    margin-top: 20px;
    padding: 14px 15px;
    border-radius: 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 700;
}

.login-error {
    margin-bottom: 18px;
    padding: 13px 14px;
    border-radius: 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 800;
}

@media (max-width: 920px) {
    .login-shell {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

    .login-visual {
        min-height: auto;
        padding: 32px;
    }

    .login-visual-footer {
        margin-top: 28px;
    }

    .login-card {
        padding: 36px 30px;
    }

    .login-visual-title {
        font-size: 31px;
    }
}

@media (max-width: 520px) {
    .login-page {
        padding: 18px;
    }

    .login-shell {
        border-radius: 22px;
    }

    .login-visual {
        padding: 28px 24px;
    }

    .login-card {
        padding: 30px 24px;
    }

    .login-title {
        font-size: 24px;
    }

    .login-visual-title {
        font-size: 27px;
    }
}