/* Vendor Registration Form Custom Styles */

.vendor_registration_wrap {
    background: #f5f5f5;
    padding: 40px 0;
}
.required{
    color:red
}
/* Form Section Block - White Background Container */
.form_section_block {
    background: #ffffff;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Form Row - Container for 3 columns */
.form_row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
}

.form_row:last-child {
    margin-bottom: 0;
}

/* Form Column - 3 per row */
.form_col {
    flex: 1;
    min-width: 0;
    flex-basis: calc(33.333% - 14px);
}

/* Full width column for textarea and special fields */
.form_col_full {
    flex: 1;
    width: 100%;
    flex-basis: 100%;
}

.vendor_registration_wrap .form_field {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.vendor_registration_wrap .form_field:focus {
    border-color: #ef7237;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.vendor_registration_wrap select.form_field {
    cursor: pointer;
    background-color: white;
}

.vendor_registration_wrap textarea.form_field {
    min-height: 100px;
    resize: vertical;
}

.vendor_registration_wrap input[type="file"].form_field {
    padding: 10px;
    border: 2px dashed #ddd;
    background-color: #fafafa;
}

.vendor_registration_wrap input[type="file"].form_field:hover {
    border-color: #ef7237;
    background-color: #f0f8ff;
}

.vendor_registration_wrap .common_header {
    color: #000;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.vendor_registration_wrap .form_btn_wrap {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.vendor_registration_wrap .form_btn_wrap:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.vendor_registration_wrap .instruction_box {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
}

.vendor_registration_wrap .instruction_box h4 {
    color: #856404;
    margin-bottom: 15px;
}

.vendor_registration_wrap .instruction_box ul {
    list-style: disc;
    margin-left: 20px;
}

.vendor_registration_wrap .instruction_box ul li {
    margin-bottom: 8px;
    color: #856404;
}

.vendor_registration_wrap label {
    color: #555;
    font-size: 14px;
}

.vendor_registration_wrap input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.vendor_registration_wrap #vendor_message_wrap {
    margin-top: 20px;
}

.vendor_registration_wrap #vendor_message_wrap p {
    padding: 15px;
    border-radius: 5px;
    font-weight: 500;
}

/* Section Dividers */
.vendor_registration_wrap .section_divider {
    height: 2px;
    background: linear-gradient(to right, #667eea, #764ba2);
    margin: 30px 0 20px 0;
    opacity: 0.3;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .form_col {
        flex-basis: calc(50% - 10px);
    }
}

@media screen and (max-width: 768px) {
    .form_section_block {
        padding: 20px 15px;
    }
    
    .form_row {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .form_col {
        flex-basis: 100%;
    }
    
    .vendor_registration_wrap .form_field {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .vendor_registration_wrap .form_btn_wrap {
        padding: 12px 30px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
    
    .vendor_registration_wrap .instruction_box {
        padding: 15px;
    }
}

/* File upload custom styling */
.vendor_registration_wrap .file_upload_wrapper {
    position: relative;
}

.vendor_registration_wrap .file_upload_label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.vendor_registration_wrap input[type="file"]::-webkit-file-upload-button {
    padding: 8px 15px;
    background: #ef7237;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 10px;
}

.vendor_registration_wrap input[type="file"]::-webkit-file-upload-button:hover {
    background: #ef7237;
}

/* Required field indicator */
.vendor_registration_wrap .form_field[required] {
    background: #fff;
}

.vendor_registration_wrap .form_field[required]:focus {
}

/* Error styling */
.field-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

.vendor_registration_wrap .form_field.error {
    border-color: #dc3545 !important;
    background-color: #fff5f5;
}

.vendor_registration_wrap .form_field.error:focus {
    box-shadow: 0 0 5px rgba(220, 53, 69, 0.3);
}

.vendor_registration_wrap .form_field.success {
    border-color: #28a745;
}

.error-icon {
    color: #dc3545;
    margin-right: 5px;
}
