/* MT Quote System Styles */

.mt-quote-form-wrapper {
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px 32px;
    border: 1px solid #A08B8B;
    font-family: "Poppins", Sans-serif;
}

.mt-quote-form-wrapper h2 {
    text-align: left;
    letter-spacing: -0.5px;
    font-family: "DM Sans", Sans-serif;
    font-weight: 400;
    font-size: 52px;
    line-height: 100%;
    color: #006F9E;
}

.mt-quote-form-wrapper h4 {
    font-family: "DM Sans", Sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 100%;
    letter-spacing: 0;
    text-align: left;
    color: #006F9E;
    margin-bottom: 30px;
}

.mt-quote-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.section-label {
    color: #006F9E;
    margin-bottom: 10px;
    font-family: "Poppins", Sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.form-row.full-width {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group label {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group label::after {
    content: " *";
    color: #e74c3c;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #A08B8B;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    font-weight: 400;
    font-style: Italic;
    font-size: 18px;
    line-height: 100%;
    color: #373737;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #3737378A;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #19cabb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group input.mt-field-error,
.form-group textarea.mt-field-error {
    border-color: #e74c3c;
    background: #fff5f5;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    width: 100%;
    margin-top: 20px;
}

.contact-section .form-row {
    display: flex;
    align-items: center;
    gap: 100px;
}

.contact-section .left-fileld {
    width: 70%;
    display: flex;
    gap: 20px;
}

.contact-section .right-fileld {
    width: 30%;
}

/* Quantity Options */
.quantity-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    font-family: "Poppins", Sans-serif;
    font-weight: 400;
    color: #373737;
    position: relative;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-custom {
    position: relative;
    transition: all 0.3s ease;
    padding: 15px 25px;
    border: 2px solid #DBDBDB;
    border-radius: 50px;
    background: #DBDBDB;
    width: 100%;
}

.radio-option input[type="radio"]:checked+.radio-custom {
    border-color: #19cabb;
    background: #19cabb;
    height: 100%;
    display: block;
    color: #fff;
}

.radio-custom:hover {
    border-color: #00CABB;
    background: #00CABB;
    color: #fff;
}

.custom-quantity-input {
    margin-top: 15px;
}

.custom-quantity-input input {
    width: 100%;
    max-width: 200px;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 50px;
    background: #DBDBDB;
    color: #373737;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Poppins;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    margin-top: 20px;
    outline: none;
    box-shadow: none;
}

.action-btn:hover,
.action-btn:focus {
    border-color: #19cabb !important;
    background: #19cabb !important;
    color: #fff;
}

.action-btn:hover img,
.action-btn:focus img {
    filter: brightness(0) invert(1);
}

.action-btn svg {
    color: currentColor;
}

.form-box {
    margin-top: 30px;
}

/* Checkbox */
.checkbox-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    justify-content: end;
    color: #373737;
    font-family: DM Sans;
    font-weight: 400;
    font-style: Italic;
    font-size: 14px;
    line-height: 100%;
    text-decoration: underline;
    margin-top: 10px;
}


/* .checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.3s ease;
}
*/
.checkbox-option input[type="checkbox"]:checked+label.checkbox-option {
    border-color: #3498db;
    background: #3498db;
}

/* .checkbox-option input[type="checkbox"]:checked+.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}  */
.quantity-options .checkbox-option,
.quantity-options .input-option {
    margin: 0 !important;
    text-decoration: none;
    font-style: normal;
}

.quantity-options .checkbox-custom {
    position: relative;
    transition: all 0.3s ease;
    padding: 15px 25px;
    border: 2px solid #DBDBDB;
    border-radius: 50px;
    background: #DBDBDB;
    width: 100%;
    justify-content: center !important;
    margin: 0;
    text-decoration: none;
    color: #373737;
    font-size: 18px;
    font-family: "Poppins", Sans-serif;
    font-weight: 400;
}

.checkbox-option input:checked+.checkbox-custom {
    border-radius: 50px;
    background: #19cabb;
    color: #fff;
    padding: 15px 25px;
    border-color: #19cabb;
}

.quantity-options [type=checkbox] {
    display: none;
}

/* 
.quantity-options label.checkbox-option input[type="checkbox"] {
    position: absolute;
    left: -999px;
} */

.image-preview-list .image-preview-item {
    overflow: visible;
}

.image-preview-list .image-preview-item .remove-image {
    padding: 0px;
    top: -6px;
    right: -8px;
    font-size: 18px;
}

/* Choice Cards */
.choices-section {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 25px;
    border: 1px solid #A08B8B;
    width: 30%;
}

.left-column {
    width: 70%;
    background: #ffffff;
    padding: 30px 70px 30px 20px;
    border-radius: 25px;
    border: 1px solid #A08B8B;
    margin-right: 23px;
}

.choice-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.choice-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.choice-card input[type="radio"] {
    display: none;
}

.choice-card .card-content {
    padding: 25px 30px;
    border-radius: 20px;
    border: 2px solid #DBDBDB;
    transition: all 0.3s ease !important;
    background: #DBDBDB !important;
    position: relative;

}

.choice-card.active .card-content {
    border-color: #00CABB !important;
    background: #00CABB !important;
    color: rgb(255, 255, 255);
}

.choice-card:not(.active) .card-content {
    border-color: #e1e5e9;
    background: #f8f9fa;
    color: #6c757d;
}

.choice-card:hover .card-content {
    border-color: #00CABB !important;
    background: #00CABB !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.15);
    color: #fff;
    font-family: "Poppins", Sans-serif;
}

.card-text {
    font-weight: 400;
    line-height: 1.5;
    font-family: "Poppins", Sans-serif;
    font-size: 18px;
    display: inline-block;
    margin-top: 25px;
    margin-bottom: 25px;
}

.choice-card .tooltip {
    position: absolute;
    display: inline-block;
    top: 6px;
    right: 6px;
}

.choice-card .tooltip .tooltiptext {
    visibility: hidden;
    background-color: #ffffff;
    color: #373737;
    text-align: left;
    padding: 18px 20px 18px 20px;
    border-radius: 15px;
    position: absolute;
    z-index: 1;
    width: 380px;
    bottom: 110%;
    right: -25%;
    margin-left: -60px;
    font-size: 12px;
    line-height: 18px;
    box-shadow: 0px 0px 10px #06709c66;
    font-family: "Poppins", Sans-serif;
}

.choice-card .tooltip:hover .tooltiptext {
    visibility: visible;
}

.choice-card .card-content img {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: block;
    max-width: max-content;
}

.choice-card .tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 15px;
    margin-left: -5px;
    border-width: 10px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

.otherwise-input input {
    padding: 12px 16px;
    border: 1px solid #A08B8B;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #3737378A;
    outline: none;
}


/* Contact Section */
.contact-section {
    background: #ffffff;
    padding: 20px 20px;
    border-radius: 25px;
    border: 1px solid #A08B8B;
}

.form-submit {
    text-align: right;
}

.mt-submit-btn {
    background: #F28E00;
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: none;
}

.mt-submit-btn:hover {
    background: linear-gradient(135deg, #f7931e, #e67e22);
    transform: translateY(-1px);
}

.mt-submit-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-group input {
    border-radius: 50px;
    font-style: normal;
}

.mt-message {
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    margin-top: 20px;
    border: 1px solid;
}

.mt-message-success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.mt-message-error {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.first-row {
    display: flex;
}

.form-box .checkbox label.checkbox-option {
    justify-content: end;
    gap: 5px;
    text-decoration: none;
}

.form-box .checkbox label.checkbox-option a {
    color: currentColor;
    text-decoration: underline;
}

.mt-quote-form div#dz-preview-area {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.mt-quote-form div#dz-preview-area .dz-preview {
    position: relative;
    border: 1px solid #A08B8B;
    padding: 5px;
    border-radius: 15px;
}

.mt-quote-form div#dz-preview-area .dz-preview img {
    object-fit: contain !important;
    height: 80px !important;
    width: 80px !important;
}

.mt-quote-form div#dz-preview-area button.dz-remove {
    top: -8px;
    padding: 0;
    border: 0;
    position: absolute;
    background: red;
    color: #fff;
    width: 20px;
    height: 21px;
    border-radius: 100px;
    right: -10px;
}

/* Responsive-media-device */

@media (max-width:1024px) {
    .left-column {
        padding-right: 20px;
    }

    .action-btn {
        font-size: 14px;
        padding: 12px 10px;
    }

    .radio-custom {
        padding: 12px 10px;
    }

    .choice-card .card-content {
        padding: 20px 15px;
    }

    .mt-quote-form-wrapper h2 {
        font-size: 42px;
    }

    .mt-quote-form-wrapper h4 {
        font-size: 20px;
    }

    .otherwise-input input {
        padding: 10px 12px;
        height: 44px;
        font-size: 16px;
    }

    .quantity-options {
        gap: 10px;
    }

    .quantity-options .checkbox-custom {
        padding: 15px 15px;
    }

}

@media (max-width:767px) {
    .first-row {
        flex-direction: column;
    }

    .left-column {
        width: 100%;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .choices-section {
        width: 100%;
        margin-top: 20px;
    }

    .mt-quote-form-wrapper {
        padding: 20px 15px;
    }

    .product-actions {
        flex-direction: column;
    }

    .action-btn {
        margin-top: 0;
    }

    .form-box {
        margin-top: 0;
    }

    .contact-section .left-fileld {
        width: 100%;
        flex-direction: column;
    }

    .contact-section .form-row {
        flex-wrap: wrap;
        gap: 20px;
    }

    .contact-section .right-fileld {
        width: 100%;
    }

    .mt-quote-form-wrapper h2 {
        font-size: 28px;
        margin-bottom: 0;
    }

    .mt-quote-form-wrapper h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .section-label {
        margin-bottom: 0;
    }

    .quantity-options {
        gap: 10px;
    }

    .form-box label.section-label {
        margin-bottom: 15px;
    }

    .radio-custom {
        font-size: 16px;
    }

    .form-group textarea {
        font-size: 16px;
    }

    .choice-card .tooltip .tooltiptext {
        width: 280px;
    }

    .card-text {
        font-size: 16px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .quantity-options .checkbox-custom {
        font-size: 14px;
    }

    .form-box .checkbox label.checkbox-option {
        display: block;
        line-height: 18px;
    }

    .form-box .checkbox label.checkbox-option input {
        margin-right: 2px;
    }
    .mt-quote-form div#dz-preview-area .dz-preview img { 
        height: 40px !important;
        width: 40px !important;
    }
    .mt-quote-form div#dz-preview-area {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}