/* Authentication Pages Styles - 회원가입, 로그인 페이지 스타일 */

.auth-container,
.register-container,
.login-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 20px;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.auth-header p {
    color: #6b7280;
    font-size: 0.875rem;
}

.auth-form {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 40px;
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.progress-step span {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
}

.progress-circle.completed {
    background-color: #f97316;
    color: white;
}

.progress-circle.current {
    background-color: #f97316;
    color: white;
}

.progress-line {
    width: 80px;
    height: 2px;
    background-color: #e5e7eb;
    margin: 0 16px;
}

.progress-line.completed {
    background-color: #f97316;
}

/* Input with Button */
.input-with-button {
    display: flex;
    gap: 8px;
}

.input-with-button .form-input {
    flex: 1;
}

.input-with-button .btn-secondary {
    white-space: nowrap;
    padding: 12px 16px;
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.checkbox-item label {
    cursor: pointer;
    color: #374151;
    font-size: 0.875rem;
}

.checkbox-item a {
    color: #f97316;
    text-decoration: underline;
    margin-left: 4px;
}

.checkbox-item a:hover {
    color: #ea580c;
}

.checkbox-all {
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 4px;
}

.checkbox-all label {
    font-weight: 600;
    color: #111827;
}

/* Tag Selection */
.tag-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
    background-color: white;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tag-item:hover {
    border-color: #f97316;
    background-color: #fff7ed;
}

.tag-item.selected {
    border-color: #f97316;
    background-color: #fff7ed;
    color: #f97316;
    font-weight: 600;
}

.tag-item input[type="checkbox"] {
    display: none;
}

/* AI Experience Cards */
.ai-experience-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.experience-card {
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background-color: white;
}

.experience-card:hover {
    border-color: #f97316;
    background-color: #fff7ed;
}

.experience-card.selected {
    border-color: #f97316;
    background-color: #fff7ed;
}

.experience-card input[type="radio"] {
    display: none;
}

.experience-title {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
    font-size: 1rem;
}

.experience-card.selected .experience-title {
    color: #f97316;
}

.experience-description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
}

/* Button Group */
.button-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.button-group .btn-primary,
.button-group .btn-secondary {
    flex: 1;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #e5e7eb;
}

.divider span,
.divider-text {
    padding: 0 16px;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Social Login Buttons */
.social-login-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 12px;
    background-color: white;
}

.social-login-btn:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.btn-kakao {
    background-color: #fee500;
    border-color: #fee500;
    color: #000000;
}

.btn-kakao:hover {
    background-color: #fdd835;
    border-color: #fdd835;
}

.btn-naver {
    background-color: #03c75a;
    border-color: #03c75a;
    color: white;
}

.btn-naver:hover {
    background-color: #02b550;
    border-color: #02b550;
}

.btn-google {
    background-color: white;
    border-color: #e5e7eb;
    color: #374151;
}

.btn-google:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

/* Login Links */
.login-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.875rem;
}

.login-links a {
    color: #f97316;
    text-decoration: none;
    font-weight: 500;
}

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

.checkbox-input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin-right: 6px;
}

.checkbox-label {
    cursor: pointer;
    color: #374151;
    font-size: 0.875rem;
}

/* Links */
.auth-links {
    text-align: center;
    margin-top: 24px;
    font-size: 0.875rem;
}

.auth-links a {
    color: #f97316;
    text-decoration: none;
    font-weight: 500;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 8px;
}

.strength-bar {
    height: 4px;
    background-color: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-fill {
    height: 100%;
    transition: all 0.3s;
    border-radius: 2px;
}

.strength-fill.weak {
    width: 33%;
    background-color: #ef4444;
}

.strength-fill.medium {
    width: 66%;
    background-color: #f59e0b;
}

.strength-fill.strong {
    width: 100%;
    background-color: #10b981;
}

.strength-text {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Interest Tags (register_additional.php) */
.interest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.interest-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 2px solid #d1d5db;
    border-radius: 20px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}

.interest-tag:hover {
    border-color: #f97316;
    background-color: #fff7ed;
}

.interest-tag input[type="checkbox"] {
    display: none;
}

.interest-tag.selected {
    background-color: #f97316;
    border-color: #f97316;
    color: white;
}

/* Experience Options */
.experience-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.experience-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    padding: 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background-color: white;
}

.experience-option:hover {
    border-color: #f97316;
    background-color: #fff7ed;
}

.experience-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.experience-option.selected {
    border-color: #f97316;
    background-color: #fff7ed;
}

.experience-option-indicator {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    margin-right: 12px;
    margin-top: 2px;
    position: relative;
    transition: all 0.2s;
    background-color: white;
}

.experience-option-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
    opacity: 0;
    transition: opacity 0.2s;
}

.experience-option.selected .experience-option-indicator {
    background-color: #f97316;
    border-color: #f97316;
}

.experience-option.selected .experience-option-indicator::after {
    opacity: 1;
}

.experience-option-content {
    flex: 1;
    border-left: 3px solid transparent;
    padding-left: 12px;
    transition: all 0.2s;
}

.experience-option.selected .experience-option-content {
    border-left-color: #f97316;
}

.experience-option-level {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 4px;
}

.experience-option.selected .experience-option-level {
    color: #f97316;
}

.experience-option-text {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

.experience-option.selected .experience-option-text {
    font-weight: 600;
    color: #111827;
}

/* Register Banner */
.register-banner {
    margin-top: 40px;
    padding: 32px;
    background: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.2);
    position: relative;
    overflow: hidden;
}

.register-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.register-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.register-banner-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.register-banner-icon svg {
    width: 36px;
    height: 36px;
}

.register-banner-text {
    flex: 1;
}

.register-banner-text h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.register-banner-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.register-banner-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 0.95rem;
    line-height: 1.5;
}

.register-banner-benefits li svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    padding: 2px;
}

.register-banner-benefits li span {
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .register-banner {
        padding: 24px;
        margin-top: 32px;
    }

    .register-banner-content {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        text-align: center;
    }

    .register-banner-text h3 {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

    .register-banner-benefits {
        align-items: flex-start;
    }

    .register-banner-benefits li {
        font-size: 0.875rem;
        text-align: left;
    }
}
