
.login-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 0 15px;
}

.login-box {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.login-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

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

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

.form-input {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: #2f415d;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remember-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.remember-check label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
}

.forgot-link {
    font-size: 14px;
    color: #666;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #b82647;
}

.btn-login {
    width: 100%;
    height: 52px;
    background: #b82647;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background: #a02040;
}

.login-divider {
    position: relative;
    text-align: center;
    margin: 30px 0;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.login-divider span {
    position: relative;
    display: inline-block;
    padding: 0 20px;
    background: #fff;
    color: #666;
    font-size: 14px;
}

.alt-auth-section {
    margin-bottom: 30px;
}

.login-signup {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.login-signup a {
    color: #b82647;
    font-weight: 500;
    margin-left: 5px;
}

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

/* 모바일 반응형 */
@media (max-width: 767px) {
    .login-container {
        margin: 20px auto;
    }
    
    .login-box {
        padding: 30px 20px;
    }
    
    .login-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .form-input {
        height: 44px;
        font-size: 14px;
    }
    
    .btn-login {
        height: 48px;
        font-size: 15px;
    }
    
    .remember-check label,
    .forgot-link {
        font-size: 13px;
    }
}

/* 매우 작은 화면 */
@media (max-width: 360px) {
    .login-box {
        padding: 25px 15px;
    }
    
    .login-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .forgot-link {
        margin-left: 26px;
    }
}

.register-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 약관 동의 섹션 */
.agreement-section {
    margin-bottom: 40px;
}

.agreement-box {
    margin-bottom: 25px;
}

.agreement-box h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.agreement-textarea {
    width: 100%;
    height: 120px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f8f9fa;
    color: #666;
    resize: none;
    font-size: 13px;
    line-height: 1.6;
}

.agreement-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding: 0 5px;
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.detail-link {
    color: #b82647;
    font-size: 14px;
    font-weight: 500;
}

.detail-link:hover {
    text-decoration: underline;
}

/* 모바일 반응형 */
@media (max-width: 767px) {
    .register-container {
        padding: 0 10px;
    }
    
    .agreement-section {
        margin-bottom: 30px;
    }
    
    .agreement-box h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .agreement-textarea {
        height: 100px;
        padding: 12px;
        font-size: 12px;
    }
    
    .agreement-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .radio-group {
        gap: 15px;
    }
    
    .radio-group label {
        font-size: 13px;
    }
    
    .detail-link {
        align-self: flex-end;
        font-size: 13px;
    }
}

/* 매우 작은 화면 */
@media (max-width: 360px) {
    .radio-group {
        flex-direction: column;
        gap: 8px;
    }
}
.alt-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    border: 1px solid;
}

/* 버튼 내부 컨텐츠 */
.auth-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
}

.auth-btn svg {
    flex-shrink: 0;
}

/* 네이버 버튼 */
.auth-btn.btn-nv {
    background: #03C75A;
    color: white;
    border-color: #03C75A;
}

.auth-btn.btn-nv:hover {
    background: #02B351;
    border-color: #02B351;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(3, 199, 90, 0.3);
}

/* 카카오 버튼 */
.auth-btn.btn-kk {
    background: #FEE500;
    color: #000000;
    border-color: #FEE500;
}

.auth-btn.btn-kk:hover {
    background: #F7DC00;
    border-color: #F7DC00;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(254, 229, 0, 0.3);
}

/* 메타 버튼 */
.auth-btn.btn-meta {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.auth-btn.btn-meta:hover {
    background: #166fe5;
    border-color: #166fe5;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
}

/* 구글 버튼 */
.auth-btn.btn-gg {
    background: white;
    color: #3c4043;
    border-color: #dadce0;
}

.auth-btn.btn-gg:hover {
    background: #f8f9fa;
    border-color: #d2d3d6;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* PC에서 2x2 그리드 */
@media (min-width: 1024px) {
    .alt-auth-buttons {
        gap: 15px;
    }
    
    .auth-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .auth-btn {
        flex: 1;
    }
}

/* 태블릿에서도 가로 배치 */
@media (min-width: 768px) and (max-width: 1023px) {
    .auth-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .auth-btn {
        flex: 1;
    }
}

/* 모바일에서 텍스트 크기 조정 */
@media (max-width: 767px) {
    .auth-btn {
        min-height: 44px;
        font-size: 14px;
    }
    
    .auth-btn-content {
        padding: 10px 16px;
    }
    
    .auth-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* 다크모드 대응 (선택사항) */
@media (prefers-color-scheme: dark) {
    .auth-btn.btn-gg {
        background: #303134;
        color: #e8eaed;
        border-color: #5f6368;
    }
    
    .auth-btn.btn-gg:hover {
        background: #3c4043;
        border-color: #8ab3f8;
    }
}
/* 비회원 주문조회 (login + verify 공용) */
.verify-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.verify-divider::before,
.verify-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.verify-divider span {
    padding: 0 15px;
    font-size: 13px;
    color: #999;
}

.forgot-message {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.forgot-message.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.forgot-message.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.btn-login:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.btn-login-guest {
    background: #2f415d;
}

.btn-login-guest:hover {
    background: #253448;
}
