/* 로그인 전용 — 쇼핑몰 관리자 / ShopMol Admin */

.auth-login-body {
    margin: 0;
    min-height: 100vh;
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .auth-shell {
        flex-direction: row;
    }

    .auth-shell__hero {
        flex: 0 0 44%;
        max-width: 520px;
        min-height: 100vh;
    }

    .auth-shell__panel {
        min-height: 100vh;
    }
}

.auth-shell__hero {
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #012e2f 0%, #014d4e 42%, #0a6b6c 100%);
    color: #e8eef5;
    align-items: stretch;
    justify-content: center;
    padding: 2.5rem 2rem;
}

.auth-shell__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 20%, rgba(18, 181, 176, 0.18), transparent 55%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(251, 191, 36, 0.08), transparent 50%);
    pointer-events: none;
}

.auth-shell__hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.9;
    pointer-events: none;
}

.auth-shell__hero-inner {
    position: relative;
    z-index: 1;
    max-width: 420px;
    margin: auto 0;
}

.auth-shell__badge {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    font-weight: 700;
    color: rgba(167, 243, 238, 0.95);
    border: 1px solid rgba(167, 243, 238, 0.35);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.auth-shell__title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
    color: #fff;
}

.auth-shell__title span {
    font-weight: 600;
    opacity: 0.92;
}

.auth-shell__lead {
    font-size: 1rem;
    color: rgba(226, 232, 240, 0.88);
    margin: 0 0 2rem;
    line-height: 1.55;
}

.auth-shell__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-shell__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0;
    font-size: 0.95rem;
    color: rgba(241, 245, 249, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-shell__features li:last-child {
    border-bottom: 0;
}

.auth-shell__features .fas {
    width: 1.25rem;
    text-align: center;
    color: #5eead4;
    opacity: 0.95;
}

.auth-shell__panel {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem 2rem;
    background: linear-gradient(180deg, #f4f7f6 0%, #e8efee 100%);
    position: relative;
}

.auth-shell__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(1, 77, 78, 0.07), transparent 55%);
    pointer-events: none;
}

.auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1.125rem;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 12px 40px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    padding: 2rem 1.75rem 2.25rem;
}

@media (min-width: 576px) {
    .auth-card {
        padding: 2.25rem 2.25rem 2.5rem;
    }
}

.auth-card__head {
    text-align: center;
    margin-bottom: 1.75rem;
}

.auth-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 1rem;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, #014d4e 0%, #0a6b6c 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 8px 20px rgba(1, 77, 78, 0.35);
}

.auth-card__icon--logo {
    width: 4rem;
    height: 4rem;
    padding: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 20px rgba(1, 77, 78, 0.2);
}

.auth-card__icon--logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.auth-card__head h1 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
}

.auth-card__head p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.45;
}

.auth-field label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
}

.auth-field .form-control {
    border-radius: 0.5rem;
    border: 1px solid #cbd5e1;
    padding: 0.65rem 0.85rem;
    font-size: 0.9375rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-field .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.auth-field .form-control::placeholder {
    color: #94a3b8;
}

.auth-captcha {
    position: relative;
    margin-top: 0.25rem;
    padding: 1rem;
    border-radius: 0.625rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.auth-captcha__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.auth-captcha__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.auth-captcha__row--code {
    display: grid;
    grid-template-columns: 45% 10% 45%;
    column-gap: 0;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
    min-height: 3rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
}

.auth-captcha__code-cell,
.auth-captcha__refresh-cell,
.auth-captcha__input-cell {
    min-width: 0;
    box-sizing: border-box;
}

.auth-captcha__code-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.4rem;
    border-right: 1px solid #e2e8f0;
    background: #fff;
}

.auth-captcha__refresh-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.1rem;
    border-right: 1px solid #e2e8f0;
    background: #f1f5f9;
}

.auth-captcha__input-cell {
    display: flex;
    align-items: center;
    justify-content: stretch;
    padding: 0.35rem 0.45rem;
    background: #fff;
}

.auth-captcha__server-code {
    display: block;
    width: 100%;
    text-align: center;
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    font-size: clamp(1.1rem, 2.6vw, 1.65rem);
    font-weight: 700;
    letter-spacing: clamp(0.12em, 1.2vw, 0.28em);
    color: #0f172a;
    user-select: all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.auth-captcha__hint {
    margin-top: -0.25rem;
}

/* 봇용 허니팟 — 화면·포커스 밖 (사람은 비워 둠) */
.auth-hp-field {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.auth-captcha__img-wrap {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.auth-captcha__img-wrap img {
    display: block;
    height: 40px;
    border-radius: 0.35rem;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.auth-captcha__row--code .btn-refresh {
    width: 100%;
    max-width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    transition: background 0.15s ease, color 0.15s ease;
}

.auth-captcha__row--code .btn-refresh:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.auth-captcha__input {
    flex: 1 1 140px;
    min-width: 0;
}

.auth-captcha__row--code .auth-captcha__input--compact {
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.45rem 0.4rem;
    font-size: 0.95rem;
    text-align: center;
    letter-spacing: 0.08em;
}

.auth-btn-login {
    margin-top: 0.25rem;
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #014d4e 0%, #0a6b6c 100%);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(1, 77, 78, 0.4);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.auth-btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(1, 77, 78, 0.45);
    color: #fff !important;
}

.auth-btn-login:active {
    transform: translateY(0);
}

.auth-footer-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

