/* 회원가입 전용 스타일 */

/* 로고 이미지 */
.logo-img {
    height: 60px;
}

/* 진행 단계 표시 - 5단계 */
.progress-container {
    max-width: 800px;
    margin: 0 auto;
}

.step-progress {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-bottom: 2rem;
}

.step-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border: 3px solid #e0e0e0;
}

.step-item.active .step-number {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

.step-item.completed .step-number {
    background-color: #28a745;
    color: white;
    border-color: #28a745;
}

.step-text {
    font-size: 12px;
    color: #666;
    text-align: center;
    line-height: 1.2;
    max-width: 80px;
}

.step-item.active .step-text {
    color: #0066cc;
    font-weight: bold;
}

.step-item.completed .step-text {
    color: #28a745;
    font-weight: bold;
}

/* 약관 동의 섹션 */
.agreement-section {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
    border: 1px solid #e0e0e0;
}

/* 커스텀 체크박스 */
.checkbox {
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

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

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

.checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: #0066cc;
    border-color: #0066cc;
}

.checkbox input[type="checkbox"]:checked + .checkmark:after {
    content: '✓';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* 메인 체크박스 (전체 동의) */
.main-checkbox {
    font-weight: bold;
    font-size: 18px;
}

.main-checkbox .checkmark {
    width: 24px;
    height: 24px;
}

/* 버튼 스타일 */
.button:disabled {
    background-color: #f0f0f0 !important;
    color: #999 !important;
    cursor: not-allowed !important;
    border-color: #e0e0e0 !important;
}

.button.is-light:disabled {
    background-color: #f5f5f5 !important;
    color: #999 !important;
}

.cau-blue {
    background-color: #0066cc !important;
}

/* 폼 필드 스타일 */
.field .label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.input:focus, .select select:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 0.125em rgba(0, 102, 204, 0.25);
}

.help {
    font-size: 12px;
    color: #999;
    margin-top: 0.25rem;
}

/* 단계별 콘텐츠 */
.step-content {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 비밀번호 보기/숨기기 아이콘 */
.control.has-icons-right .icon.is-right {
    pointer-events: auto;
}

.control.has-icons-right .icon.is-right i {
    transition: color 0.2s ease;
}

.control.has-icons-right .icon.is-right i:hover {
    color: #0066cc !important;
}

/* 읽기 전용 필드 스타일 */
.input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
    color: #666;
}

.input[readonly]:focus {
    border-color: #dbdbdb;
    box-shadow: none;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .progress-container {
        max-width: 250px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .agreement-section {
        padding: 1.5rem;
    }
    
    .checkbox {
        font-size: 14px;
    }
    
    .main-checkbox {
        font-size: 16px;
    }
    
    .logo-img {
        height: 50px;
    }
}

/* 필드 그룹 스타일 */
.field.is-grouped > .control:not(:last-child) {
    margin-right: 0.75rem;
}

.field.is-grouped > .control.is-expanded {
    flex-grow: 1;
}

/* 선택 박스 스타일 */
.select select {
    border-color: #dbdbdb;
}

.select:hover select {
    border-color: #b5b5b5;
}

/* 회사 등록 모달 커스텀 스타일 */
#company-register-modal .modal-card {
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    border: 1px solid #e0e0e0;
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    overflow: hidden;
}
#company-register-modal .modal-card-head {
    background: #f7faff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1.25rem 1.5rem;
}
#company-register-modal .modal-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0066cc;
    letter-spacing: -0.5px;
}
#company-register-modal .modal-card-body {
    background: #fff;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
}
#company-register-modal .modal-card-foot {
    background: #f7faff;
    border-top: 1px solid #e0e0e0;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}
#company-register-modal .field + .field {
    margin-top: 1.25rem;
}
#company-register-modal .input,
#company-register-modal .select select {
    border-radius: 6px;
    border: 1px solid #d0d7de;
    font-size: 1rem;
    background: #f9fafd;
    transition: border 0.2s;
}
#company-register-modal .input:focus,
#company-register-modal .select select:focus {
    border-color: #0066cc;
    background: #fff;
}
#company-register-modal .file {
    width: 100%;
}
#company-register-modal .file-label {
    width: 100%;
}
#company-register-modal .file-cta {
    background: #f7faff;
    color: #0066cc;
    border-radius: 6px 0 0 6px;
    border-right: 1px solid #e0e0e0;
}
#company-register-modal .file-name {
    border-radius: 0 6px 6px 0;
    background: #f9fafd;
    color: #666;
    border: 1px solid #e0e0e0;
    border-left: none;
    padding: 0.5em 1em;
    font-size: 0.95em;
}
#company-register-modal .button.cau-blue {
    background: #0066cc !important;
    color: #fff !important;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: -0.5px;
}
#company-register-modal .button {
    min-width: 90px;
}
#company-register-modal .label {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
#company-register-modal .help {
    font-size: 12px;
    color: #999;
    margin-top: 0.25rem;
}
#company-register-modal .select.is-fullwidth {
    width: 100%;
}
#company-register-modal .select select {
    width: 100%;
    padding: 0.5em 1em;
}
#company-register-modal .field {
    margin-bottom: 0.5rem;
}
@media (max-width: 600px) {
    #company-register-modal .modal-card {
        max-width: 98vw;
        padding: 0;
    }
    #company-register-modal .modal-card-body {
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
    #company-register-modal .modal-card-head,
    #company-register-modal .modal-card-foot {
        padding: 0.8rem 0.7rem;
    }
} 