/* 회원가입 페이지 전용 스타일 */

.register-container {
    display: flex;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 40px;
}

.register-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 600px;
    width: 100%;
    animation: slideUp 0.6s ease-out;
}

.register-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 2rem;
    text-align: center;
}

.register-form-container {
    padding: 2rem;
}

.register-form-container h2 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.register-description {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* 폼 행 스타일 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group label i {
    margin-right: 0.5rem;
    color: #3498db;
    width: 16px;
}

.form-group input {
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus {
    outline: none;
    border-color: #3498db;
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.form-group input:invalid {
    border-color: #e74c3c;
}

.form-group input:valid {
    border-color: #27ae60;
}

/* 약관 동의 체크박스 */
.terms-group {
    grid-column: 1 / -1;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #3498db;
    border-radius: 4px;
    margin-right: 0.8rem;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #3498db;
    border-color: #3498db;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark:after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.terms-text {
    font-size: 0.75rem;
    color: #6c757d;
    line-height: 1.4;
    margin: 0;
    margin-left: 28px;
}

/* 버튼 스타일 */
.btn-register-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-register-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.btn-register-submit:active {
    transform: translateY(0);
}

.btn-register-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* 푸터 링크 */
.register-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.register-footer p {
    margin: 0.5rem 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.register-footer a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.register-footer a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.register-footer a i {
    margin-right: 0.3rem;
}

/* 우측 정보 패널 */
.register-info {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    max-width: 350px;
    width: 100%;
}

.register-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    text-align: center;
}

.member-types {
    margin-bottom: 2rem;
}

.member-type {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.member-type h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.member-type p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.contact-info p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* 알림 메시지 */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    font-size: 1.1rem;
}

/* 애니메이션 */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .register-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .register-info {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .register-container {
        padding: 10px;
    }
    
    .register-card {
        max-width: 100%;
    }
    
    .register-form-container {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .member-types {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .member-type {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .register-header {
        padding: 1.5rem;
    }
    
    .register-form-container {
        padding: 1rem;
    }
    
    .register-form-container h2 {
        font-size: 1.5rem;
    }
    
    .form-group input {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    .btn-register-submit {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .member-types {
        grid-template-columns: 1fr;
    }
    
    .register-info {
        padding: 1.5rem;
    }
}
