/* =============================
   AUTH BASE LAYOUT
   ============================= */
.auth-container {
    width: 100%;
    max-width: 480px;
    margin: 60px auto;
    background: #ffffff;
    padding: 32px 28px;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 26px;
    color: #0f172a;
}

/* 안내문 */
.signup-info {
    font-size: 0.95rem;
    color: #1e293b;
    line-height: 1.5;
    margin-bottom: 18px;
}

.signup-info .highlight {
    color: #0f172a;
    font-weight: 700;
}

/* 에러 메시지 */
.error-box {
    background: #fee2e2;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 0.9rem;
    color: #7f1d1d;
}

/* =============================
   INPUTS
   ============================= */

.auth-box input,
.auth-box select,
.auth-box textarea {
    width: 100%;
    height: 50px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    font-size: 1rem;
    margin-bottom: 18px;
    background: #ffffff;
    color: #0f172a;
}

/* label 통일 */
.auth-box label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a !important;
    margin-bottom: 6px;
}

/* placeholder */
.auth-box input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

/* 설명 텍스트 */
.form-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 6px;
}

/* =============================
   CHECKBOX / RADIO (iOS FIX)
   ============================= */

.auth-box input[type="checkbox"],
.auth-box input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;

    appearance: none;
    -webkit-appearance: none;
    background: #fff;

    border: 2px solid #94a3b8;
    border-radius: 4px;
    position: relative;
}

/* 체크된 상태 */
.auth-box input[type="checkbox"]:checked::after,
.auth-box input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    background: #0d1935;
}

/* 라디오 - 동그라미 유지 */
.auth-box input[type="radio"] {
    border-radius: 50%;
}

.auth-box input[type="radio"]:checked::after {
    border-radius: 50%;
}

/* =============================
   BUTTON
   ============================= */

.auth-submit {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 12px;
    background: #0d1935;
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 4px;
}

.auth-links {
    text-align: center;
    margin-top: 16px;
}

.auth-links a {
    color: #1e293b;
    font-size: 0.95rem;
}

/* =============================
   MOBILE RESPONSIVE
   ============================= */

@media (max-width: 768px) {
    .auth-container {
        margin: 40px auto;
        padding: 24px 20px;
        border-radius: 14px;
    }

    .auth-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .auth-box input {
        height: 48px;
        font-size: 0.95rem;
    }

    .auth-submit {
        height: 48px;
        font-size: 1rem;
    }
}
