/* 
   DAGANDA PREMIUM FORM STYLES
   Used for: B2B Partnership, Store Join, and other ACF-based forms
   ========================================================================== */

/* 1. Global ACF Form Container */
.dgd-apply-form-area .acf-form {
    max-width: 100%;
}

/* 2. Field Row Layout */
.dgd-apply-form-area .acf-fields.-top > .acf-field {
    border: none;
    padding: 0;
    margin-bottom: 24px;
}

/* 3. Labels */
.dgd-apply-form-area .acf-label label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0B2860;
    margin-bottom: 8px;
}

.dgd-apply-form-area .acf-label label .acf-required {
    color: #ef4444;
    margin-left: 2px;
}

/* 4. Input Controls */
.dgd-apply-form-area .acf-input input[type="text"],
.dgd-apply-form-area .acf-input input[type="tel"],
.dgd-apply-form-area .acf-input input[type="email"],
.dgd-apply-form-area .acf-input input[type="url"],
.dgd-apply-form-area .acf-input select {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    background: #fff !important;
    color: #1E293B !important;
    transition: all 0.3s !important;
    box-sizing: border-box !important;
}

.dgd-apply-form-area .acf-input textarea {
    width: 100% !important;
    min-height: 120px !important;
    padding: 14px 16px !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    background: #fff !important;
    color: #1E293B !important;
    transition: all 0.3s !important;
    box-sizing: border-box !important;
    resize: vertical;
}

.dgd-apply-form-area .acf-input input:focus,
.dgd-apply-form-area .acf-input select:focus,
.dgd-apply-form-area .acf-input textarea:focus {
    border-color: #0056FF !important;
    box-shadow: 0 0 0 4px rgba(0, 86, 255, 0.1) !important;
    background: #fff !important;
}

/* Auth / Verify Modal Form Styling */
#profile-verify-form {
    padding: 30px;
    background: #fff;
    border-radius: 24px;
}

.btn-auth-submit {
    width: 100%;
    height: 54px;
    background: #0056FF;
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(0, 86, 255, 0.2);
    margin-top: 20px;
}

.btn-auth-submit:hover {
    background: #0046AD;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 86, 255, 0.3);
}

/* 5. Checkbox & Radio Custom Styling */
.dgd-apply-form-area .acf-checkbox-list,
.dgd-apply-form-area .acf-radio-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 5px;
}

.dgd-apply-form-area .acf-checkbox-list li,
.dgd-apply-form-area .acf-radio-list li {
    font-size: 14px;
    color: #64748B;
}

/* 6. Submit Button */
.dgd-apply-form-area .af-submit,
.dgd-apply-form-area .acf-form-submit {
    margin-top: 10px;
}

.dgd-apply-form-area .af-submit button,
.dgd-apply-form-area .acf-button {
    width: 100% !important;
    padding: 18px !important;
    background: #0056FF !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    box-shadow: 0 8px 20px rgba(0, 86, 255, 0.25) !important;
}

.dgd-apply-form-area .af-submit button:hover,
.dgd-apply-form-area .acf-button:hover {
    background: #0046AD !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 86, 255, 0.35) !important;
}

/* 7. Success Card UI */
.dgd-success-card {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px dashed #cbd5e1;
    animation: fadeInUp 0.5s ease-out;
}

.dgd-success-icon {
    width: 80px;
    height: 80px;
    background: #E0F2FE;
    color: #0056FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 25px;
}

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

/* 8. Helper Classes */
.acf-fields.-left > .acf-field:before { display: none; }
.acf-notice.-error {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
    padding: 12px;
    border-radius: 8px;
    color: #b91c1c;
    margin-bottom: 20px;
    font-size: 14px;
}

/* 9. Select2 (ACF Dropdown) Custom Styling */
.dgd-apply-form-area .select2-container--default .select2-selection--single {
    height: 48px !important;
    padding: 10px 16px !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    background-color: #fff !important;
    outline: none !important;
    transition: all 0.3s !important;
    display: flex !important;
    align-items: center !important;
}

.dgd-apply-form-area .select2-container--default.select2-container--open .select2-selection--single,
.dgd-apply-form-area .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #0056FF !important;
    box-shadow: 0 0 0 4px rgba(0, 86, 255, 0.1) !important;
}

.dgd-apply-form-area .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1E293B !important;
    line-height: normal !important;
    font-size: 15px !important;
    padding-left: 0 !important;
    width: 100% !important;
}

.dgd-apply-form-area .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #94A3B8 !important;
}

.dgd-apply-form-area .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.dgd-apply-form-area .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #64748B transparent transparent transparent !important;
    border-width: 5px 4px 0 4px !important;
}
