/* readyni 로그인 페이지 스타일 */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--mint-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* 카드 래퍼 */
.login-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 48px 40px 40px;
    width: 100%;
    max-width: 600px;
}

/* 로고 영역 */
.login-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    justify-content: center;
}

.login-logo figure {width:30px;}

.login-logo-text {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.5px;
}

/* 안내 문구 */
.login-desc {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 32px;
    text-align: center;
}

/* 메시지 */
.message {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.message.error {
    background: #FEF2F2;
    color: #B91C1C;
    border: 1px solid #FECACA;
}

.message.success {
    background: #F0FDF4;
    color: #15803D;
    border: 1px solid #BBF7D0;
}

/* 폼 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #E5E7EB;
    border-radius: 10px;
    font-size: 15px;
    color: #111827;
    background: #FAFAFA;
    transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
    outline: none;
}

.form-group input::placeholder {
    color: #9CA3AF;
}

.form-group input:focus {
    border-color: #2DD4A8;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(45, 212, 168, 0.15);
}

/* 로그인 버튼 */
.btn-login {
    width: 100%;
    padding: 14px;
    background: #2DD4A8;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
}

.btn-login:hover {
    background: #22C49C;
    box-shadow: 0 4px 14px rgba(45, 212, 168, 0.35);
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-login:disabled {
    background: #A7F3D0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 소셜 로그인 구분선 */
.social-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    gap: 16px;
}

.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}

.social-divider span {
    font-size: 13px;
    color: #94a3b8;
    white-space: nowrap;
}

/* Google 로그인 컨테이너 */
.google-login-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* 반응형 */
@media (max-width: 480px) {
    .login-card {
        padding: 36px 24px 32px;
    }
}
