/* ============================================================================
   B2B Request Form - CSS Styles
   Für: b2bRequest.php
   Präfix: b2b-request-
   ============================================================================ */

/* ============================================================================
   WALLPAPER & HEADER
   ============================================================================ */

.b2bRequest-wall {
    background-image: url("/public/assets/vosh_image_b2bRequestPic.jpg");
    background-size: cover;
}

@media screen and (max-width: 991px) {
    .b2bRequest-wall {
        min-height: 140pt;
        background-position-y: 42%;
        margin-top: 20pt;
    }
}

@media screen and (min-width: 992px) {
    .b2bRequest-wall {
        min-height: 540px;
        background-position-y: 42%;
    }
}

/* ============================================================================
   FORMULAR STYLES
   ============================================================================ */

.b2b-request-question-page {
    background: #fff;
    padding: 40px 0;
}

.b2b-request-question-page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.b2b-request-question-title {
    text-align: left;
    margin-bottom: 30px;
}

.b2b-request-question-title h3 {
    font-size: 32px;
    color: #6F6F6F;
    font-weight: 400;
    margin: 0;
}

.b2b-request-title-hr {
    border: 1px solid #e0e0e0;
    width: 100%;
    margin: 20px 0 40px 0;
}

.b2b-request-form-section {
    margin-bottom: 30px;
}

.b2b-request-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.b2b-request-form-section .form-group {
    margin-bottom: 15px;
}

.b2b-request-form-hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    width: 100%;
    margin: 30px 0;
}

.question-title {
    font-size: 20px;
    color: #6F6F6F;
    font-weight: 500;
    margin-bottom: 15px;
    display: block;
}

/* Form Controls */
#become_a_vosher_form .form-control {
    height: 48px;
    font-size: 16px;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 15px;
    width: 100%;
    transition: border-color 0.3s ease;
}

#become_a_vosher_form .form-control:focus {
    border-color: #6ecfe9;
    outline: none;
    box-shadow: 0 0 0 2px rgba(110, 207, 233, 0.1);
}

#become_a_vosher_form .form-control::placeholder {
    color: #999;
    opacity: 1;
}

#become_a_vosher_form textarea.form-control {
    height: auto;
    resize: vertical;
    min-height: 120px;
}

/* Checkbox Groups */
.b2b-request-checkbox-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.b2b-request-checkbox-option {
    position: relative;
}

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

#become_a_vosher_form input[type="checkbox"] + label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 80px;
}

#become_a_vosher_form input[type="checkbox"] + label:hover {
    border-color: #ec971f;
    background-color: #fff8f0;
}

#become_a_vosher_form input[type="checkbox"]:checked + label {
    background-color: #ec971f;
    color: #fff;
    border-color: #ec971f;
}

#become_a_vosher_form input[type="checkbox"] + label span {
    display: none;
}

/* Radio Button Groups */
.b2b-request-radio-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.b2b-request-radio-option {
    position: relative;
}

#become_a_vosher_form input[type="radio"] {
    display: none;
}

#become_a_vosher_form input[type="radio"] + label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 80px;
}

#become_a_vosher_form input[type="radio"] + label:hover {
    border-color: #ec971f;
    background-color: #fff8f0;
}

#become_a_vosher_form input[type="radio"]:checked + label {
    background-color: #ec971f;
    color: #fff;
    border-color: #ec971f;
}

#become_a_vosher_form input[type="radio"] + label span {
    display: none;
}

/* Range Slider */
.b2b-request-slider-container {
    width: 100%;
    padding: 20px 0;
    font-family: 'Inter', sans-serif;
}

.b2b-request-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.b2b-request-slider-wrapper {
    position: relative;
    width: 100%;
    height: 10px;
    background-color: #e1e1e1;
    border-radius: 5px;
    margin-top: 10px;
}

.b2b-request-slider-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #ec971f;
    border-radius: 5px;
    transition: width 0.1s ease;
}

.b2b-request-slider-handle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #ec971f;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: left 0.1s ease;
    margin-left: -10px;
}

.b2b-request-slider-handle:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.b2b-request-slider-value-bubble {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    border-radius: 6px;
    background-color: #ec971f;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.b2b-request-slider-value-bubble::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #ec971f;
}

/* Submit Button */
.b2b-request-submit-section {
    text-align: center;
    margin-top: 40px;
}

.b2b-request-submit-button {
    color: #FFFFFF !important;
    background: linear-gradient(135deg, #ec971f 0%, #d6891a 100%) !important;
    font-size: 18px !important;
    border-radius: 4px !important;
    text-align: center;
    text-transform: uppercase;
    padding: 14px 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.b2b-request-submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 151, 31, 0.3);
}

/* Error States */
.error-border {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1) !important;
}

.error-border-section {
    border: 2px solid #dc3545;
    padding: 10px;
    margin: -10px;
    border-radius: 4px;
}

/* INTLTELINPUT STYLES */
.intl-tel-input {
    position: relative;
    display: block !important;
    width: 100% !important;
}

.intl-tel-input.iti-container {
    position: absolute;
    top: -1000px;
    left: -1000px;
    z-index: 99999999 !important;
    padding: 1px;
}

#become_a_vosher_form .intl-tel-input .selected-flag {
    width: 60px !important;
    min-width: 60px !important;
    padding: 0 8px !important;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    z-index: 2;
}

#become_a_vosher_form .intl-tel-input .selected-flag .iti-flag {
    margin-right: 6px !important;
}

#become_a_vosher_form .intl-tel-input .selected-flag .iti-arrow {
    margin-left: 4px !important;
}

/* Input-Feld Positionierung - Text soll direkt nach selected-flag beginnen */
#become_a_vosher_form .intl-tel-input input[type="tel"] {
    padding-left: 70px !important; /* 60px selected-flag width + 10px spacing */
}

#become_a_vosher_form .intl-tel-input {
    position: relative;
}

#become_a_vosher_form input[type="tel"].error-border {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.1) !important;
}

@media screen and (max-width: 991px) {
    .iti-mobile .intl-tel-input.iti-container {
        top: 90px !important;
    }
}

/* ============================================================================
   RESPONSIVE STYLES
   ============================================================================ */

@media screen and (max-width: 991px) {
    .b2b-request-question-page-content {
        width: 80%;
        max-width: 80%;
        margin: 0 auto;
        padding: 0;
    }
    
    .b2b-request-question-title h3 {
        font-size: 24px;
    }
    
    .b2b-request-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    #become_a_vosher_form .form-control {
        height: 44px;
        font-size: 16px;
    }
    
    .question-title {
        font-size: 18px;
    }
    
    .b2b-request-checkbox-group,
    .b2b-request-radio-group {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    #become_a_vosher_form input[type="checkbox"] + label,
    #become_a_vosher_form input[type="radio"] + label {
        min-height: 60px;
        padding: 12px;
    }
    
    .b2b-request-submit-button {
        width: 100%;
        padding: 14px 20px;
    }
}

@media screen and (min-width: 992px) {
    .b2b-request-question-page-content {
        max-width: 900px;
        padding: 0 40px;
    }
    
    .b2b-request-question-title h3 {
        font-size: 36px;
    }
    
    .b2b-request-form-row {
        gap: 20px;
    }
    
    #become_a_vosher_form .form-control {
        height: 50px;
        font-size: 16px;
    }
    
    .question-title {
        font-size: 22px;
    }
    
    .b2b-request-checkbox-group,
    .b2b-request-radio-group {
        gap: 20px;
    }
}

/* ============================================================================
   SUCCESS PAGE STYLES
   ============================================================================ */

.b2b-request-success-page {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.b2b-request-success-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 10px 30px rgba(0, 0, 0, 0.1);
}

.b2b-request-success-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px auto;
    background: linear-gradient(135deg, #6ecfe9 0%, #5bb8d4 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(110, 207, 233, 0.3);
    animation: successIconPulse 2s ease-in-out infinite;
}

.b2b-request-success-icon i {
    font-size: 60px;
    color: #fff;
}

@keyframes successIconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(110, 207, 233, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(110, 207, 233, 0.4);
    }
}

.b2b-request-success-title {
    font-size: 36px;
    color: #244659;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.b2b-request-success-message {
    font-size: 18px;
    color: #6F6F6F;
    line-height: 1.6;
    margin: 0 0 40px 0;
}

.b2b-request-success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.b2b-request-success-button-home {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: linear-gradient(135deg, #6ecfe9 0%, #5bb8d4 100%);
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(110, 207, 233, 0.3);
}

.b2b-request-success-button-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(110, 207, 233, 0.4);
    color: #fff !important;
    text-decoration: none;
}

.b2b-request-success-button-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    background: #fff;
    color: #6F6F6F !important;
    text-decoration: none;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.b2b-request-success-button-back:hover {
    transform: translateY(-2px);
    border-color: #6ecfe9;
    color: #6ecfe9 !important;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 991px) {
    .b2b-request-success-page {
        padding: 40px 15px;
        min-height: 60vh;
    }
    
    .b2b-request-success-content {
        padding: 40px 25px;
        border-radius: 16px;
    }
    
    .b2b-request-success-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }
    
    .b2b-request-success-icon i {
        font-size: 50px;
    }
    
    .b2b-request-success-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .b2b-request-success-message {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .b2b-request-success-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .b2b-request-success-button-home,
    .b2b-request-success-button-back {
        width: 100%;
        justify-content: center;
        padding: 12px 30px;
    }
}

