/**
 * Product Consultation Module
 *
 * @author    Solidus Kodas, UAB
 * @copyright 2025 Solidus Kodas, UAB
 * @license   Proprietary - All Rights Reserved
 *
 * This source file is proprietary and confidential.
 * Unauthorized copying, distribution or modification of this file,
 * via any medium is strictly prohibited without prior written consent
 * from Solidus Kodas, UAB.
 *
 * Contact: info@soliduskodas.lt
 * Website: https://soliduskodas.lt
 */

.consultation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.consultation-modal .modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 6px;
    width: 100%;
    max-width: 500px;
    position: relative;
}

.consultation-modal .close-modal {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 20px;
}

.consultation-modal .form-group {
    margin-bottom: 1rem;
}

.consultation-modal label {
    font-weight: bold;
    display: block;
    margin-bottom: 0.25rem;
}

.consultation-modal input,
.consultation-modal textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Hide the add-to-cart button if consultation wrapper is present */
.product-consultation-wrapper {
    display: block;
}

.product-consultation-wrapper ~ .add-to-cart,
.add-to-cart:has(+ .product-consultation-wrapper) {
    display: none !important;
}



.photos-stage {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.photos-instructions h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}
.photos-instructions em {
    font-style: italic;
}

.photos-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.upload-step .step-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin-bottom: 10px;
}
.step-number { font-weight: 700; }
.step-help { margin-left: auto; cursor: help; }

.step-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}
.step-placeholder {
    width: 100%;
    border-radius: 4px;
    object-fit: cover;
}

/*.upload-dropzone {*/
/*    position: relative;*/
/*    border: 2px dashed #ccc;*/
/*    border-radius: 6px;*/
/*    text-align: center;*/
/*    padding: 40px 10px;*/
/*    cursor: pointer;*/
/*    transition: border-color 0.3s;*/
/*    background: #f9f9f9;*/
/*}*/
/*.upload-dropzone:hover { border-color: #000; }*/
/*.upload-dropzone input[type="file"] {*/
/*    position: absolute;*/
/*    top:0; left:0; right:0; bottom:0;*/
/*    opacity: 0;*/
/*    cursor: pointer;*/
/*}*/

/*.upload-dropzone.dragover { border-color: #000; }*/

/*.upload-dropzone.is-invalid {*/
/*    border-color: #dc3545;*/
/*    box-shadow: 0 0 0 0.2rem rgba(220,53,69,.25);*/
/*}*/

/*.upload-actions {*/
/*    text-align: right;*/
/*}*/
/*.upload-actions .btn {*/
/*    padding: 10px 30px;*/
/*    border-radius: 0;*/
/*}*/

/*.preview-container {*/
/*    margin-top: 10px;*/
/*    background: #fff;*/
/*    border: 1px solid #ddd;*/
/*    padding: 10px;*/
/*    border-radius: 6px;*/
/*    text-align: left;*/
/*}*/
/*.preview-container img.preview-image {*/
/*    max-height: 100px;*/
/*    display: block;*/
/*    margin-bottom: 8px;*/
/*}*/
/*.preview-info {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    font-size: 13px;*/
/*    margin-bottom: 6px;*/
/*}*/
/*.preview-info .remove-file {*/
/*    border: none;*/
/*    background: transparent;*/
/*    cursor: pointer;*/
/*    font-size: 14px;*/
/*}*/
/*.progress-bar {*/
/*    height: 6px;*/
/*    background: #eee;*/
/*    border-radius: 3px;*/
/*    overflow: hidden;*/
/*}*/
/*.progress-bar .progress {*/
/*    width: 0;*/
/*    height: 100%;*/
/*    background: #000;*/
/*    transition: width 0.3s ease;*/
/*}*/

/* Two-column grid */
/*.userdata-stage {*/
    /*display: grid;*/
    /*grid-template-columns: 1fr 1fr;*/
    /*gap: 60px;*/
    /*align-items: start;*/
    /*margin-top: 40px;*/
/*}*/

/*.userdata-instructions h2 {*/
/*    font-size: 28px;*/
/*    font-weight: 400;*/
/*    margin-bottom: 15px;*/
/*}*/
/*.userdata-instructions em {*/
/*    font-style: italic;*/
/*    font-weight: 500;*/
/*}*/
/*.userdata-instructions p {*/
/*    color: #666;*/
/*    font-size: 14px;*/
/*    line-height: 1.6;*/
/*}*/

/*!* Clean form *!*/
/*.userdata-form {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 25px;*/
/*}*/
/*.userdata-form label {*/
/*    font-size: 14px;*/
/*    margin-bottom: 6px;*/
/*    display: block;*/
/*}*/
/*.userdata-form input[type="text"],*/
/*.userdata-form input[type="email"],*/
/*.userdata-form input[type="password"] {*/
/*    width: 100%;*/
/*    padding: 12px 14px;*/
/*    border: none;*/
/*    background: #f5f5f5;*/
/*    font-size: 14px;*/
/*}*/

/*!* Password input with eye icon *!*/
/*.password-input {*/
/*    position: relative;*/
/*}*/
/*.password-input input {*/
/*    width: 100%;*/
/*    padding-right: 40px;*/
/*}*/
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
}

/* Checkbox */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
}
.form-check input {
    margin-top: 3px;
}
.form-check a {
    text-decoration: underline;
    color: #000;
}

/* Submit button */
/*.btn-submit {*/
/*    margin-top: 20px;*/
/*    background: none;*/
/*    border: 1px solid #000;*/
/*    padding: 12px 30px;*/
/*    font-size: 14px;*/
/*    cursor: pointer;*/
/*    text-transform: uppercase;*/
/*}*/
/*.btn-submit:hover {*/
/*    background: #000;*/
/*    color: #fff;*/
/*}*/
