/* PC 로그인 스킨 CSS */
* {
    box-sizing: border-box;
}

/* 스크린 리더 전용 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 메인 로그인 페이지 */
#login-page {   
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;    
    padding: 20px;
}

/* 로그인 컨테이너 */
#login-container {
    background: #ffffff;      
    padding: 40px;
    width: 100%;
    max-width: 420px;
    margin-bottom: 30px;
}

/* 헤더 */
#login-container header h1 {
    text-align: center;
    margin: 0 0 30px 0;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    letter-spacing: -0.5px;
}

/* 폼 래퍼 */
#login-form-wrapper {
    width: 100%;
}

/* 로그인 필드 */
#login-fields {
    margin-bottom: 20px;
}

/* 인풋 그룹 */
.input-group {
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 16px 12px;
    border: 2px solid #e8ecef;    
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f8f8;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-group input::placeholder {
    color: #999;
}

/* 로그인 옵션 */
#login-options {
    margin: 20px 0;
}

#auto-login-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    user-select: none;
}

#auto-login-label input[type="checkbox"] {
    display: none;
}

#auto-login-label .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

#auto-login-label input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

#auto-login-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 로그인 버튼 */
#login-submit {
    width: 100%;
    padding: 18px;
    background:#2a3347;
    color: white;
    border: none;    
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

#login-submit:hover {
    background:#212633;
}

#login-submit:active {
    transform: translateY(0);
}

/* 로그인 링크 */
#login-links {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e8ecef;
}

#login-links a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    margin: 0 10px;
    transition: color 0.3s ease;
    position:relative;
}

#login-links a:before {
    content:'';
    display:block;
    position:absolute;
    left:-25%;
    top:50%;
    width:1px;
    height:13px;
    background:#ddd;
    transform:translate(0, -50%)
    
}
#login-links a:first-child:before {
    display:none;
}
#login-links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* 비회원 구매 섹션 */
#guest-order {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 420px;
    margin-bottom: 20px;
}

#guest-order header h2 {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

#guest-order header p {
    text-align: center;
    color: #666;
    margin: 0 0 20px 0;
    font-size: 14px;
}

#privacy-policy {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    max-height: 120px;
    overflow-y: auto;
}

#privacy-agreement {
    margin: 20px 0;
}

#privacy-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    user-select: none;
    line-height: 1.5;
}

#privacy-label input[type="checkbox"] {
    display: none;
}

#privacy-label .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

#privacy-label input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

#privacy-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#guest-order-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#guest-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

/* 주문조회 섹션 */
#order-inquiry {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 420px;
}

#order-inquiry header h2 {
    margin: 0 0 20px 0;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

#inquiry-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

#inquiry-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

#inquiry-info {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    text-align: center;
}

#inquiry-info strong {
    color: #333;
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#login-container,
#guest-order,
#order-inquiry {
    animation: fadeInUp 0.6s ease-out;
}

/* 포커스 스타일 개선 */
button:focus,
input:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* 반응형 - 태블릿 */
@media (max-width: 768px) {
    #login-page {
        padding: 15px;
    }
    
    #login-container,
    #guest-order,
    #order-inquiry {
        padding: 30px 25px;
        max-width: 100%;
    }
    
    #login-container header h1 {
        font-size: 24px;
    }
}

/* 반응형 - 모바일 */
@media (max-width: 480px) {
    #login-page {
        padding: 10px;
    }
    
    #login-container,
    #guest-order,
    #order-inquiry {
        padding: 25px 20px;
    }
    
    #login-container header h1 {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .input-group input {
        padding: 14px 0px;
        font-size: 15px;
    }
    
    #login-submit,
    #guest-order-btn,
    #inquiry-submit {
        padding: 16px;
        font-size: 16px;
    }
}