/* Modal Base */
.wlc-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.wlc-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 60px;
    width: 100%;
    max-width: 1200px;
    border-radius: 8px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

/* Close Button */
.wlc-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.wlc-close:hover {
    color: #000;
}

.wlc-submit-section {
    align-self: center;
}
/* Steps Progress */
.wlc-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.wlc-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    font-weight: bold;
    position: relative;
}

.wlc-step:not(:last-child):after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    width: 20px;
    height: 2px;
    background: #f0f0f0;
}

.wlc-step.active {
    background: #2271b1;
    color: #fff;
}

.wlc-step.completed {
    background: #46b450;
    color: #fff;
}

/* Step Container */
.step-container {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}

/* Preview Section */
.preview-section {
    flex: 0 0 40%;
}

.preview-container {
    position: sticky;
    top: 20px;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.preview-image {
    background: #fff;
    border-radius: 4px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#selected-preview {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    display: none;
}

/* Options Section */
.options-section {
    flex: 0 0 60%;
}

.wlc-positions-grid {
    display: flex
;
    flex-direction: column;
    gap: 20px;
}

.position-option {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.position-option:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.position-option.selected {
    border-color: #2271b1;
}

.position-option label {
    display: flex
;
    cursor: pointer;
    flex-direction: row-reverse;
    padding: 0 20px;
    justify-content: space-between;
}
td.product-name {
    width: 60%;
}
.summary-uploaded-logo.logo-preview img {
    width: 90px;
}
.both-button{
    display: flex;
    justify-content: space-between;
}
.position-image {
    padding: 10px;
}
.position-image .sec-img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    display: block;
}
.position-image img {
    width: 100%;
    height: 60px;
    object-fit: contain;
    display: block;
}
.final-preview-image img {
    height: 100px;
}
/* Total Section */
.wlc-total {
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 4px;
    text-align: right;
    font-size: 16px;
}

/* Navigation Buttons */
.wlc-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.wlc-buttons button {
    min-width: 120px;
}

/* Custom Button */
.wlc-customize-btn {
    margin-left: 10px !important;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .wlc-modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .step-container {
        flex-direction: column;
    }

    .preview-section,
    .options-section {
        flex: none;
        width: 100%;
    }

    .preview-container {
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }

    .wlc-positions-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .wlc-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .wlc-buttons button {
        width: 100%;
    }
}

/* Animation */
.wlc-step-content {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* Modal Base */
.wlc-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.wlc-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 60px;
    width: 100%;
    max-width: 1200px;
    border-radius: 8px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

/* Close Button */
.wlc-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.wlc-close:hover {
    color: #000;
}

/* Steps Progress */
.wlc-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.wlc-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    font-weight: bold;
    position: relative;
}

.wlc-step:not(:last-child):after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    width: 20px;
    height: 2px;
    background: #f0f0f0;
}

.wlc-step.active {
    background: #2271b1;
    color: #fff;
}

.wlc-step.completed {
    background: #46b450;
    color: #fff;
}

/* Step 2 - Design Type Container */
.wlc-step-2-content {
    animation: fadeIn 0.3s ease-in-out;
}

.wlc-step-2-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.wlc-step-2-container {
    display: flex;
    gap: 30px;
    margin: 20px 0;
}

/* Preview Section for Step 2 */
.wlc-step-2-preview-section {
    flex: 0 0 40%;
}

.wlc-step-2-preview-container {
    position: sticky;
    top: 20px;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.wlc-step-2-preview-image {
    background: #fff;
    border-radius: 4px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#step2-selected-preview {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    display: none;
}

/* Options Section for Step 2 */
.wlc-step-2-options-section {
    flex: 0 0 60%;
}


.wlc-step-2-position-option {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wlc-step-2-position-option:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wlc-step-2-position-option.selected {
    border-color: #2271b1;
}



.wlc-step-2-position-image {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.wlc-step-2-position-image img {
    width: 100%;
    object-fit: contain;
    display: block;
}

/* Total Section */
.wlc-total {
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 4px;
    text-align: right;
    font-size: 16px;
}

/* Navigation Buttons */
.wlc-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.wlc-buttons button {
    min-width: 120px;
}

/* Custom Button */
.wlc-customize-btn {
    margin-left: 10px !important;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .wlc-modal-content {
        margin: 0;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .wlc-step-2-container {
        flex-direction: column;
    }

    .wlc-step-2-preview-section,
    .wlc-step-2-options-section {
        flex: none;
        width: 100%;
    }

    .wlc-step-2-preview-container {
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }

    .wlc-step-2-positions-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .wlc-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .wlc-buttons button {
        width: 100%;
    }
}

/* Animation */
.wlc-step-content {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* Step 2 Grid Layout */
.wlc-step-2-positions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

@media screen and (max-width: 768px) {
    .wlc-step-2-positions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .wlc-step-2-positions-grid {
        grid-template-columns: 1fr;
    }
}
/* step no 3 */
.upload-options {
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
}

.option-row {
    margin-bottom: 15px;
}

.option-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.option-row select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.customization-summary {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.remove-customization {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 20px;
    cursor: pointer;
    padding: 0 5px;
}

.wlc-add-another-section {
    text-align: center;
    margin: 20px 0;
}

.total-price-section {
    background: #e9ecef;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

.customization-total {
    font-weight: bold;
    color: #0d6efd;
}

#summary-total-price {
    font-size: 24px;
    font-weight: bold;
    color: #198754;
}
.sec-check{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding: 5px 2px;
}
.wlc-container {
    position: relative;
}

.wlc-content-scroll {
    max-height: calc(100vh - 200px); /* Adjust value based on your needs */
    overflow-y: auto;
    padding-bottom: 20px;
}

.wlc-buttons {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 15px;
    z-index: 100;
    width: 100%;
}