.naver-login-container {
    min-height: calc(100vh - 120px);
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f5e9da 0%, #f9f6f2 100%);
}

.naver-login-form {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(139, 94, 60, 0.10);
    padding: 40px 32px 32px 32px;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.naver-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 100%;
    width: 100%;
    margin: 0;
    min-width: 0;
    align-items: stretch;
}

.naver-header {
    text-align: center;
    margin-bottom: 20px;
}

.naver-logo-img {
    display: block;
    margin: 0 auto 8px auto;
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.naver-logo {
    color: #8B5E3C;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 4px 0;
    letter-spacing: -0.5px;
}

.naver-slogan {
    color: #bfa074;
    font-size: 15px;
    margin: 0 0 8px 0;
    font-weight: 500;
    letter-spacing: -0.2px;
}

.naver-subtitle {
    color: #666;
    font-size: 16px;
    margin: 0 0 8px 0;
    font-weight: 400;
}

.naver-error-message {
    background: #fff2f0;
    border: 1px solid #ffccc7;
    color: #d32f2f;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.naver-success-message {
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    color: #2f855a;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.naver-login-form .naver-form .form-group {
    margin: 0 0 8px 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    align-items: stretch;
    box-sizing: border-box;
}

.naver-form input[type="text"],
.naver-form input[type="password"] {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 8px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    align-self: stretch;
}

.naver-form input:focus {
    border-color: #8B5E3C;
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.1);
}

.naver-form input::placeholder {
    color: #999;
    font-size: 0.9375rem;
    letter-spacing: -0.02em;
}

.naver-form .submit-btn {
    display: block;
    width: 100%;
    max-width: 100%;
    background: #8B5E3C;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin: 4px 0 0 0;
    box-sizing: border-box;
}

.naver-form .submit-btn:hover {
    background: #7A4F2F;
}

.kakao-login-slot {
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px 0;
    box-sizing: border-box;
    align-self: stretch;
}

.kakao-login-btn {
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    background: #fee500;
    color: #3c1e1e;
    border: 1px solid #fcd34d;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background-color .15s ease;
    box-sizing: border-box;
    line-height: 1.3;
    -webkit-appearance: none;
    appearance: none;
}

.kakao-login-btn-inner {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    max-width: 100%;
    flex: 0 0 auto;
}

.kakao-login-btn:hover { background: #ffd600; }
.kakao-login-btn .kakao-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    line-height: 0;
    margin: 0;
    padding: 0;
}

.kakao-login-btn .kakao-login-btn-text {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    text-align: left;
    line-height: 1.25;
}
.kakao-login-btn.is-pending {
    background: #f3efe9;
    color: #8a8278;
    border-color: #e6ded2;
    cursor: not-allowed;
    pointer-events: none;
}
.kakao-login-btn.is-pending:hover { background: #f3efe9; }
.kakao-notice {
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.5;
}
.kakao-notice.info    { background: #fff8e1; color: #5a4300; border: 1px solid #ffe082; }
.kakao-notice.success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.kakao-notice.error   { background: #ffebee; color: #b71c1c; border: 1px solid #ef9a9a; }

.naver-footer {
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e1e5e9;
}

.naver-signup-link {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.naver-signup-link a {
    color: #8B5E3C;
    text-decoration: none;
    font-weight: 600;
}

.naver-signup-link a:hover {
    text-decoration: underline;
}

.naver-find-link {
    color: #666;
    font-size: 14px;
    margin: 0 0 8px 0;
}

.naver-find-link a {
    color: #8B5E3C;
    text-decoration: none;
    font-weight: 600;
}

.naver-find-link a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .naver-login-form .naver-form .form-group {
        margin: 0 0 8px 0 !important;
    }

    .naver-login-form .naver-form input[type="text"],
    .naver-login-form .naver-form input[type="password"] {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .naver-login-form .naver-form .submit-btn {
        width: 100% !important;
        max-width: 100% !important;
        margin: 4px 0 0 0 !important;
    }

    .naver-login-form .kakao-login-slot {
        margin: 0 0 16px 0 !important;
    }

    .naver-login-form .kakao-login-btn {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        justify-content: center !important;
    }

    .naver-login-form .kakao-login-btn .kakao-login-btn-inner {
        margin: 0 !important;
    }

    .naver-login-form .kakao-login-btn .kakao-icon,
    .naver-login-form .kakao-login-btn .kakao-login-btn-text {
        margin: 0 !important;
    }
}
