/* ========================================
   FILE: assets/frontend-style.css
   ======================================== */

.lcq-wrapper {
    min-height: 100vh;
    /*background: linear-gradient(to bottom right, #f8fafc, #e2e8f0);*/
    padding: 2rem 1rem;
    font-family: 'Termina', sans-serif;
}

.lcq-container {
    max-width: 900px;
    margin: 0 auto;
}

.lcq-header {
    text-align: center;
    margin-bottom: 2rem;
}

.lcq-header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.lcq-header p {
    color: #64748b;
    font-size: 1rem;
}

.lcq-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 500px;
    margin: 1.5rem auto 0.5rem;
    font-size: 0.875rem;
}

#lcq-step-label {
    color: #64748b;
}

#lcq-progress-label {
    color: #29d162;
    font-weight: 600;
}

.lcq-progress-bar-container {
    max-width: 500px;
    margin: 0 auto;
    height: 0.5rem;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
}

.lcq-progress-bar {
    height: 100%;
    background: #3b82f6;
    width: 0;
    transition: width 0.3s ease;
}

.lcq-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.lcq-card-body {
    padding: 3rem 2rem;
}

.lcq-step {
    display: block;
}

.lcq-hidden {
    display: none !important;
}

.lcq-step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.lcq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.lcq-step-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.lcq-step-header p {
    color: #64748b;
}

.lcq-property-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.lcq-option-card {
    cursor: pointer;
    background: white;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s;
}

.lcq-option-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.lcq-option-card.lcq-selected {
    border-color: #3b82f6;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.lcq-option-icon {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
}

.lcq-option-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

/* ============================================
   CONVERSION STYLES - Radio Button Grid
   Desktop: 4 columns, Mobile: 2 columns
   ============================================ */

.lcq-conversion-styles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
}

.lcq-style-card {
    cursor: pointer;
    position: relative;
}
label.lcq-style-label::before{
    content: '';
    opacity: 0;
}
.lcq-style-card input[type="radio"] {
    position: absolute !important;
    opacity: 0;
    width: 0;
    height: 0;
}

.lcq-style-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem .5rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 120px;
    flex-direction: column;
    gap: 0.5rem;
}

.lcq-style-card input[type="radio"]:checked + .lcq-style-label {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.lcq-style-label:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.lcq-style-label h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.lcq-style-icon {
    font-size: 3.8rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* ============================================
   WINDOW TYPES - Full Width Flex Layout
   ============================================ */

.lcq-window-types {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.lcq-window-card {
    cursor: pointer;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.lcq-window-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.lcq-window-card.lcq-selected {
    border-color: #3b82f6;
    background: #eff6ff;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
}

.lcq-window-content {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.lcq-window-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.lcq-window-content p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

.lcq-window-cost {
    flex-shrink: 0;
    text-align: right;
    font-weight: 600;
}

.lcq-included {
    color: #22c55e;
    font-weight: 600;
}

.lcq-cost {
    color: #1e293b;
    font-weight: 600;
}

/* ============================================
   FORM SECTIONS & INPUTS
   ============================================ */

.lcq-form-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.lcq-form-section > div:first-child {
    margin-bottom: 0.5rem;
}

/*.lcq-form-section .row {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));*/
/*    gap: 1.5rem;*/
/*    width: 100%;*/
/*}*/

/*.lcq-form-section .col-sm-6 {*/
/*    width: 100%;*/
/*}*/

.lcq-form-section label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
height: 100%;
}

.lcq-form-section label span {
    font-size: 0.875rem;
    color: #334155;
    font-weight: 500;
}

.lcq-form-section input,
.lcq-form-section select {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #6f747b;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    transition: all 0.2s;
    font-family: inherit;
}

.lcq-form-section input:focus,
.lcq-form-section select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.lcq-form-section input::placeholder {
    color: #cbd5e1;
}

/* ============================================
   AREA CARD & ESTIMATES
   ============================================ */

.lcq-area-card {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #93c5fd;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    margin-top: 1rem;
}

.lcq-label {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.lcq-big-text {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1rem 0;
}

.lcq-small-text {
    color: #64748b;
    font-size: 0.75rem;
    margin: 0.5rem 0 0 0;
}

.lcq-note,
.lcq-tip {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    margin: 1rem 0 0 0;
}

.lcq-tip {
    background: #eff6ff;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid #3b82f6;
    max-width: 500px;
    margin: 1rem auto;
    width: auto;
}

/* ============================================
   REVIEW SECTION
   ============================================ */

.lcq-review-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lcq-review-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.lcq-review-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.lcq-review-item p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

.lcq-review-item p.lcq-small-text {
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.lcq-edit-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #6f747b;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.lcq-edit-btn:hover:not(:disabled) {
    background: #f8fafc;
    border-color: #94a3b8;
}

.lcq-edit-btn:disabled,
.lcq-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.lcq-estimate-box {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    margin-top: 1.5rem;
}

.lcq-estimate-box h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.lcq-estimate-amount {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.lcq-reference {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin: 0;
}

/* ============================================
   NAVIGATION BUTTONS
   ============================================ */

.lcq-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    gap: 1rem;
    flex-wrap: wrap;
}

.lcq-btn {
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.lcq-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.lcq-btn-outline {
    background: white;
    border: 1px solid #6f747b;
    color: #0f172a;
}

.lcq-btn-outline:hover:not(:disabled) {
    background: #f8fafc;
    border-color: #94a3b8;
}

.lcq-btn-primary {
    background: #29d162;
    color: white;
}

.lcq-btn-primary:hover:not(:disabled) {
    background: #29d162;
}

.lcq-btn-success {
    background: #22c55e;
    color: white;
}

.lcq-btn-success:hover:not(:disabled) {
    background: #16a34a;
}

.lcq-btn-full {
    width: 100%;
}

.lcq-error {
    color: #dc2626;
    font-size: 0.875rem;
    text-align: center;
    margin-top: 1rem;
}

/* ============================================
   MODAL STYLES
   ============================================ */

.lcq-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lcq-flex {
    display: flex;
}

.lcq-modal-content {
    background: white;
    border-radius: 0.75rem;
    max-width: 450px;
    width: 100%;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.lcq-modal-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: #22c55e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.lcq-modal-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin: 0 0 0.5rem 0;
}

.lcq-modal-content > p {
    text-align: center;
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

.lcq-modal-info {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lcq-modal-box {
    background: #f8fafc;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.lcq-modal-box p {
    margin: 0;
}

.lcq-modal-box p:first-child {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.lcq-modal-ref {
    color: #3b82f6;
    font-size: 1.125rem;
    font-weight: 600;
}

.lcq-modal-amount {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 600;
}

.lcq-modal-close {
    background: white;
    border: 1px solid #6f747b;
    color: #0f172a;
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */

@media (max-width: 768px) {
    .lcq-card-body {
        padding: 2rem 1rem;
    }
    
    .lcq-header h1 {
        font-size: 1.5rem;
    }
    
    .lcq-header p {
        font-size: 0.95rem;
    }
    
    .lcq-property-types {
        grid-template-columns: 1fr;
    }
    
    .lcq-conversion-styles {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lcq-window-types {
        max-width: 100%;
    }
    
    .lcq-form-section .row {
        grid-template-columns: 1fr;
    }
    
    .lcq-review-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .lcq-edit-btn {
        align-self: flex-end;
        margin-top: 0.5rem;
    }
    
    .lcq-navigation {
        flex-direction: column;
    }
    
    .lcq-btn {
        width: 100%;
        justify-content: center;
    }
    
    .lcq-step-header h2 {
        font-size: 1.25rem;
    }
    
    .lcq-icon {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.75rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */

@media (max-width: 480px) {
    .lcq-wrapper {
        padding: 1rem 0.5rem;
    }
    
    .lcq-card {
        border-radius: 0.5rem;
    }
    
    .lcq-card-body {
        padding: 1.5rem 1rem;
    }
    
    .lcq-header h1 {
        font-size: 1.25rem;
    }
    
    .lcq-header p {
        font-size: 0.9rem;
    }
    
    .lcq-progress-info {
        max-width: 100%;
        font-size: 0.75rem;
    }
    
    .lcq-step-header {
        margin-bottom: 1.5rem;
    }
    
    .lcq-step-header h2 {
        font-size: 1.1rem;
    }
    
    .lcq-step-header p {
        font-size: 0.8rem;
    }
    
    .lcq-conversion-styles {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .lcq-style-label {
        padding: 1rem 0.75rem;
        min-height: 100px;
    }
    
    .lcq-style-label h3 {
        font-size: 0.85rem;
    }
    
    .lcq-form-section {
        gap: 1rem;
    }
    
    .lcq-form-section label {
        gap: 0.35rem;
    }
    
    .lcq-form-section input,
    .lcq-form-section select {
        padding: 0.5rem 0.625rem;
        font-size: 0.8rem;
    }
    
    .lcq-area-card {
        padding: 1rem;
    }
    
    .lcq-big-text {
        font-size: 1.5rem;
    }
    
    .lcq-review-item {
        padding: 1rem;
    }
    
    .lcq-review-item h3 {
        font-size: 0.95rem;
    }
    
    .lcq-review-item p {
        font-size: 0.8rem;
    }
    
    .lcq-edit-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .lcq-estimate-box {
        padding: 1.5rem 1rem;
    }
    
    .lcq-estimate-amount {
        font-size: 2rem;
    }
    
    .lcq-navigation {
        gap: 0.5rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .lcq-btn {
        padding: 0.55rem 1rem;
        font-size: 0.8rem;
    }
    
    .lcq-modal-content {
        max-width: 95%;
        padding: 1.5rem 1rem;
    }
    
    .lcq-modal-icon {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.75rem;
    }
    
    .lcq-modal-content h3 {
        font-size: 1.1rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .lcq-wrapper {
        background: white;
        padding: 0;
    }
    
    .lcq-navigation,
    .lcq-btn,
    .lcq-edit-btn {
        display: none;
    }
    
    .lcq-card {
        box-shadow: none;
    }
}