/* 기업 회원가입 페이지 스타일 */

/* Main Wrapper */
.signup-wrapper {
    background: #faf8f8;
    min-height: 100vh;
    padding: 60px 0 100px;
}

.signup-wrapper .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.6s ease-out;
}

.page-title {
    font-size: 38px;
    font-weight: 800;
    color: #333;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

/* Signup Form */
.signup-form {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Form Section */
.form-section {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.form-section:hover {
    border-color: #faf8f8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid #faf8f8;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.section-title svg {
    color: #bb877a;
}

/* Form Group */
.form-group {
    margin-bottom: 28px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.required {
    color: #ff4444;
    margin-left: 4px;
}

.optional {
    color: #999;
    font-size: 13px;
    font-weight: 500;
    margin-left: 4px;
}

/* Form Input */
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    background: #fff;
}

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

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

.form-input:disabled,
.form-input[readonly] {
    background: #faf8f8;
    cursor: not-allowed;
}

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

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

.btn-action {
    padding: 14px 24px;
    background: #fff;
    color: #bb877a;
    border: 2px solid #bb877a;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background: #bb877a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-action:active {
    transform: translateY(0);
}

/* Input Wrapper (for password toggle) */
.input-wrapper {
    position: relative;
}

.input-wrapper .form-input {
    padding-right: 50px;
}

.btn-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.btn-toggle-password:hover {
    color: #bb877a;
}

/* Input Help Text */
.input-help {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}

.input-help svg {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.input-help.match {
    color: #4caf50;
}

.input-help.error {
    color: #ff4444;
}

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

.strength-bar {
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    background: #e0e0e0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

.strength-fill.strong {
    width: 100%;
    background: #4caf50;
}

.strength-text {
    font-size: 13px;
    color: #999;
}

.strength-text.weak {
    color: #ff4444;
}

.strength-text.medium {
    color: #ffa726;
}

.strength-text.strong {
    color: #4caf50;
}

/* Address Group */
.address-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* File Upload Area */
.file-upload-area {
    position: relative;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 3px dashed #e5e5e5;
    border-radius: 12px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: #bb877a;
    background: #f8f9ff;
}

.file-upload-label svg {
    color: #bb877a;
    margin-bottom: 16px;
}

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

.upload-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.upload-desc {
    font-size: 13px;
    color: #999;
}

/* File Preview */
.file-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 2px solid #bb877a;
    border-radius: 12px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.preview-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #faf8f8;
    flex-shrink: 0;
}

.preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-info {
    flex: 1;
}

.preview-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.preview-size {
    font-size: 13px;
    color: #999;
}

.btn-file-remove {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: #ff4444;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-file-remove:hover {
    background: #e53935;
    transform: scale(1.1);
}

/* Agreement Section */
.agreement-section {
    background: linear-gradient(135deg, #faf8f8 0%, #fff 100%);
}

.agreement-all {
    padding: 24px;
    background: #fff;
    border: 2px solid #bb877a;
    border-radius: 12px;
    margin-bottom: 24px;
}

.agreement-all .checkbox-label {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.agreement-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.agreement-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.agreement-item:hover {
    border-color: #bb877a;
    background: #faf8f8;
}

.agreement-item.required {
    border-left: 4px solid #ff4444;
}

.agreement-item.optional {
    border-left: 4px solid #4caf50;
}

/* Shopping Info Agreement */
.agreement-item.shopping-info {
    align-items: flex-start;
}

.shopping-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.shopping-info-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.receive-methods-inline {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-left: 5px;
}

/* Checkbox Wrapper */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.checkbox-wrapper.small {
    gap: 8px;
}

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

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.checkbox-wrapper.small .checkbox-custom {
    width: 20px;
    height: 20px;
}

.checkbox-custom::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom {
    background: #bb877a;
    border-color: #bb877a;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom::after {
    transform: rotate(45deg) scale(1);
}

.checkbox-label {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.checkbox-wrapper.small .checkbox-label {
    font-size: 14px;
}

.btn-view-terms {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-view-terms:hover {
    color: #bb877a;
    transform: translateX(4px);
}

/* Receive Benefit Box */
.receive-benefit-box {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 8px;
    border-left: 4px solid #ffa726;
}

.receive-benefit-box svg {
    color: #ffa726;
    flex-shrink: 0;
    margin-top: 2px;
}

.receive-benefit-box span {
    font-size: 13px;
    color: #e65100;
    font-weight: 600;
    line-height: 1.6;
}

/* Form Actions */
.form-actions {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 16px;
    margin-top: 40px;
}

.btn-cancel,
.btn-submit {
    padding: 18px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-cancel {
    background: #fff;
    color: #666;
    border: 2px solid #e5e5e5;
}

.btn-cancel:hover {
    background: #faf8f8;
    border-color: #d0d0d0;
}

.btn-submit {
    background: linear-gradient(135deg, #bb877a 0%, #9f806f 100%);
    color: #fff;
    
}

.btn-submit:hover {
    transform: translateY(-3px);

}

.btn-submit:active {
    transform: translateY(-1px);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .signup-wrapper {
        padding: 40px 0 60px;
    }

    .signup-wrapper .container {
        padding: 0 20px;
    }

    .page-header {
        margin-bottom: 40px;
    }

    .page-title {
        font-size: 32px;
    }

    .page-subtitle {
        font-size: 15px;
    }

    .form-section {
        padding: 32px 24px;
        margin-bottom: 24px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .section-title {
        font-size: 20px;
    }

    .input-with-button {
        flex-direction: column;
    }

    .btn-action {
        width: 100%;
    }

    .receive-methods-inline {
        padding-left: 5px;
    }

    .form-actions {
        grid-template-columns: 1fr;
    }

    .file-upload-label {
        padding: 32px 16px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 14px;
    }

    .form-section {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .section-title {
        font-size: 18px;
    }

    .section-title svg {
        width: 20px;
        height: 20px;
    }

    .form-input {
        padding: 12px 14px;
        font-size: 14px;
    }

    .btn-action {
        padding: 12px 20px;
        font-size: 13px;
    }

    .agreement-all {
        padding: 20px;
    }

    .agreement-all .checkbox-label {
        font-size: 16px;
    }

    .agreement-item {
        padding: 16px;
    }

    .receive-methods-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .receive-benefit-box {
        padding: 14px;
    }

    .receive-benefit-box span {
        font-size: 12px;
    }

    .btn-cancel,
    .btn-submit {
        padding: 16px;
        font-size: 15px;
    }

    .file-upload-label {
        padding: 24px 16px;
    }

    .file-upload-label svg {
        width: 40px;
        height: 40px;
    }

    .upload-title {
        font-size: 14px;
    }

    .upload-desc {
        font-size: 12px;
    }

    .file-preview {
        padding: 16px;
    }

    .preview-image {
        width: 60px;
        height: 60px;
    }

    .btn-file-remove {
        width: 28px;
        height: 28px;
        top: 12px;
        right: 12px;
    }
}
