/* ===========================
   Login Page
   =========================== */
.login-section {
    padding: 80px 0 120px;
    background: #fff;
    display: flex;
    justify-content: center;
}

.login-wrap {
    width: 480px;
    text-align: center;
}

.login-logo {
    margin-bottom: 20px;
}

.login-logo img {
    width: 100px;
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.5px;
    margin-bottom: 48px;
    color: #1f1f1f;
}

/* Social login buttons */
.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 54px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.login-btn:hover {
    opacity: 0.9;
}

.login-btn__icon {
    display: flex;
    align-items: center;
}

.login-btn__icon img {
    width: 28px;
    height: 28px;
}

.login-btn.kakao {
    background: #fee500;
    color: #191600;
}

.login-btn.naver {
    background: #03c75a;
    color: #fff;
}

.login-btn.email {
    background: #fff;
    color: #444;
    border: 1px solid #e5e5e5;
}

/* Email login card */
.login-card {
    width: 480px;
    text-align: left;
}

.login-card__title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #1f1f1f;
}

/* Divider */
.login-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0;
}

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

.login-divider span {
    font-size: 14px;
    color: #8a94a6;
    white-space: nowrap;
}

/* Email login form */
.login-form {
    text-align: left;
}

.login-form__group {
    margin-bottom: 20px;
}

.login-form__group label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #444;
    margin-bottom: 6px;
}

.login-form__group input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #e5e8ed;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.login-form__group input:focus {
    border-color: #3b5bfd;
}

.login-form__group input::placeholder {
    color: #b0b8c9;
}

.login-submit {
    width: 100%;
    height: 52px;
    border-radius: 8px;
    background: linear-gradient(90deg, #2f55ff, #3b6bff);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-top: 8px;
    transition: opacity 0.2s;
}

.login-submit:hover {
    opacity: 0.95;
}

.login-submit:disabled {
    background: #e5e8ed;
    color: #a0a4ae;
    cursor: not-allowed;
}

/* Message */
.login-msg {
    visibility: hidden;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    min-height: 45px;
    border: 1px solid transparent;
}

.login-msg.show {
    visibility: visible;
}

.login-msg--error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.login-msg--success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Links */
.login-links {
    margin-top: 28px;
    text-align: center;
    font-size: 16px;
}

.login-links a {
    color: #8a94a6;
    text-decoration: none;
    padding: 0 10px;
    transition: color 0.2s;
}

.login-links a:hover {
    color: #2f55ff;
    text-decoration: none;
}

.login-links__divider {
    display: inline-block;
    width: 1px;
    height: 12px;
    background: #d8dee9;
    vertical-align: middle;
}
