/* ============================================
   TV MOUNTING WIZARD STYLES
   Unified Mobile & Desktop Logic
   ============================================ */

/* --- Variables (inherit from styles.css where possible) --- */
:root {
    --wizard-bg-sec: #F2F7F7;
    --wizard-border: #DDE5E5;
    --wizard-primary: #2ba8bb;
    --wizard-primary-hover: #1f7e8c;
    --wizard-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --wizard-transition: all 0.3s ease;
}

/* --- Layout Wrappers --- */
.wizard-container {
    padding-top: 15px;
    padding-bottom: 150px;
    /* Added spacing for mobile */
    max-width: 1400px;
    margin: 0 auto;
}

/* Override global section-title for wizard compactness */
.wizard-container .section-title {
    margin-bottom: 15px;
    /* Reduced to bring progress bar closer to subtitle */
}

.wizard-container .section-title h1 {
    margin-bottom: 10px;
    font-size: 1rem;
    margin-bottom: 5px;
    /* Mobile Size */
}

.wizard-container .section-title p {
    font-size: 1rem;
    /* Mobile Size */
}

@media (min-width: 1025px) {
    .wizard-container .section-title h1 {
        font-size: 1.5rem;
        margin-top: 1px;
        margin-bottom: 5px;
        /* Desktop Restore */
    }

    .wizard-container .section-title p {
        font-size: 1rem;
        /* Desktop Restore */
    }
}

/* --- Header Actions Alignment --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    /* Spacing between phone and cart */
}


.header-cart-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    position: relative;
    padding: 5px;
    display: none;
    /* Hidden by default (desktop) */
    align-items: center;
    justify-content: center;
    transition: var(--wizard-transition);
}

/* Show cart button only on mobile */
@media (max-width: 1024px) {
    .header-cart-btn {
        display: flex;
    }
}

/* Desktop specific rules */
@media (min-width: 1025px) {
    .header-cta .phone-text {
        display: inline;
        /* Show number on desktop */
    }
}

.header-cart-btn:hover {
    color: var(--wizard-primary);
    transform: scale(1.1);
}

.header-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--wizard-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Desktop Grid */
.wizard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 1025px) {
    .wizard-grid {
        grid-template-columns: 1fr 400px;
        /* Main Content + Sidebar */
        align-items: start;
        padding: 0 2%;
    }

    .wizard-main {
        max-width: 800px;
        margin: 0 auto;
        /* Center the wizard in its column or use full width */
        width: 100%;
    }
}

/* --- Progress Bar --- */
.progress-container {
    margin-bottom: 15px;
    margin-top: 5px;
    /* Fixed unit and tightened space */
    /* Reduced to tighten space below subtitle */

    /* Reduced from 35px */
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1025px) {
    .progress-container {
        margin-top: 15px;
        /* Tightened vertical space on desktop */
        margin-bottom: 25px;
    }
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--wizard-border);
    z-index: -1;
}

.progress-step:last-child::after {
    display: none;
}

.progress-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--wizard-bg-sec);
    border: 2px solid var(--wizard-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
    transition: var(--wizard-transition);
}

.progress-step.active .progress-circle {
    background: var(--wizard-primary);
    border-color: var(--wizard-primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(43, 168, 187, 0.2);
}

.progress-step.completed .progress-circle {
    background: var(--wizard-primary);
    border-color: var(--wizard-primary);
    color: #fff;
}

.progress-step.completed .progress-circle::after {
    content: '✓';
}

.progress-step.completed .progress-circle span {
    display: none;
}

.progress-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    /* Assuming text-dim exists in global css */
    margin-top: 8px;
    text-align: center;
    font-weight: 500;
}

.progress-step.active .progress-label {
    color: var(--wizard-primary);
    font-weight: 700;
}

/* --- Steps --- */
.step {
    display: none;
    animation: slideUpFade 0.4s ease;
}

.step.active {
    display: block;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--wizard-shadow);
    border: 1px solid var(--wizard-border);
}

@media (min-width: 768px) {
    .step-card {
        padding: 25px 25px 25px;
        /* Reduced top padding from 45px to move title up */
    }
}

.step-header {
    text-align: center;
    margin-bottom: 10px;
}

.step-header h2 {
    font-size: 1.2rem;
    /* Mobile parity */
    color: var(--text-main);
    margin-bottom: 8px;
}

@media (min-width: 1025px) {
    .step-header h2 {
        font-size: 1.5rem;
    }
}

.step-header p {
    color: var(--text-dim);
}

/* --- Option Cards --- */
.option-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

@media (min-width: 600px) {
    .option-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.option-card {
    background: #fff;
    border: 2px solid var(--wizard-border);
    border-radius: 16px;
    padding: 15px 10px;
    /* Reduced to match mobile parity */
    text-align: center;
    cursor: pointer;
    transition: var(--wizard-transition);
    position: relative;
    height: 100%;
    min-height: 140px;
    /* Added: ensures adequate card height */
    aspect-ratio: 1.5 / 1.3;
    /* Added: maintains consistent card proportions */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.option-card:hover {
    border-color: var(--wizard-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.option-card.selected {
    border-color: var(--wizard-primary);
    background: rgba(43, 168, 187, 0.04);
}

.option-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--wizard-primary);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Size differentiation for TV icons */
[data-size="up-to-55"] .option-icon {
    font-size: 1.8rem !important;
}

[data-size="56-75"] .option-icon {
    font-size: 2.4rem !important;
}

[data-size="over-75"] .option-icon {
    font-size: 3.2rem !important;
}

.option-icon {
    font-size: 2.2rem;
    color: var(--wizard-primary);
    margin-bottom: 5px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.option-icon img {
    height: 50px;
    margin: 2PX;
    /* Fixed height for stability */
    width: auto;
}

.option-title {
    font-weight: 700;
    margin-bottom: 0px;
    margin-top: 2px;

    font-size: 0.9rem;
    /* Mobile parity */
    width: 100%;
    text-align: center;
}

@media (min-width: 1025px) {
    .option-title {
        font-size: 1rem;
    }

    .option-card {
        padding: 8px 6px;
        /* Restore desktop */
    }

    .option-icon {
        font-size: 2rem;
        height: 40px;
    }

    .option-icon img {
        height: 40px;
    }
}

.option-subtitle {
    font-size: 0.8rem;
    /* Mobile parity */
    color: var(--text-dim);
    margin-bottom: 4px;
    width: 100%;
}

.option-price {
    font-weight: 600;
    color: var(--wizard-primary);
    font-size: .9rem;
    margin-top: px;
    /* Removed auto to close gap */
    width: 100%;
}






.addon-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.addon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 2px solid var(--wizard-border);
    border-radius: 12px;
    padding: 4px 10px;
    min-height: 100px;
    /* Added: ensures adequate card height */
    overflow: hidden;
    /* Added: prevents overflow from breaking layout */
    cursor: pointer;
    transition: var(--wizard-transition);
}

.addon-item:hover {
    border-color: var(--wizard-primary);
}

.addon-item.selected {
    border-color: var(--wizard-primary);
    background: rgba(43, 168, 187, 0.04);
}

.addon-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.addon-icon {
    font-size: 1.4rem;
    color: var(--wizard-primary);
    width: 30px;
    text-align: center;
}

.addon-info h4 {
    font-size: 1rem;
    /* Mobile parity */
    margin-bottom: 3px;
    font-weight: 600;
}

.addon-info p {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.addon-price {
    font-weight: 600;
    color: var(--wizard-primary);
    margin-right: 10px;
}

.addon-check {
    width: 20px;
    height: 20px;
    border: 2px solid var(--wizard-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--wizard-transition);
}

.addon-item.selected .addon-check {
    background: var(--wizard-primary);
    border-color: var(--wizard-primary);
}

.addon-item.selected .addon-check::after {
    content: '✓';
    color: #fff;
    font-size: 0.8rem;
}

/* --- Navigation Buttons --- */
.step-nav {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
    /* Allow wrapping for more buttons */
    justify-content: center;
}

.wizard-btn {
    flex: 1;
    padding: 12px 3px;
    /* Reduced from 15px */
    border-radius: 10px;
    /* Slightly tighter radius */
    font-weight: 600;
    font-size: 0.9rem;
    /* Reduced from 1rem */
    cursor: pointer;
    transition: var(--wizard-transition);
    border: none;
    text-align: center;
    min-width: 120px;
    /* Ensure buttons don't get too narrow */
}

.wizard-btn-primary {
    background: var(--wizard-primary);
    color: #fff;
}

.wizard-btn-primary:hover {
    background: var(--wizard-primary-hover);
    transform: translateY(-2px);
}

.wizard-btn-primary:disabled {
    background: #e0e0e0;
    color: #a0a0a0;
    cursor: not-allowed;
    transform: none;
}

.wizard-btn-outline {
    background: transparent;
    border: 2px solid var(--wizard-border);
    color: var(--text-main);
}

.wizard-btn-outline:hover {
    border-color: var(--wizard-primary);
    color: var(--wizard-primary);
}

/* ============================================
   SIDEBAR (DESKTOP) - DARK THEME REDESIGN
   ============================================ */
.calc-sidebar {
    margin-bottom: 100px;
    flex-grow: 1;
    min-width: 400px;
}

.sidebar-card.dark-theme {
    background-color: #32363d;
    /* Dark Background */
    border-radius: 20px;
    padding: 20px;
    /* Reduced from 30px */
    display: flex;
    flex-direction: column;
    color: #fff;
    box-shadow: none;
    /* Removed shadow */
}

/* Header */
.sidebar-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    /* Reduced from 10px */
    padding-bottom: 8px;
    /* Reduced from 10px */
}

.sidebar-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.btn-text-danger {
    background: none;
    border: none;
    color: #ff6b6b;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.3s;
}

.btn-text-danger:hover {
    opacity: 0.8;
}

/* Body & Scroll */
.sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
    margin-right: -10px;
    /* Offset for scrollbar */
}

/* Custom Scrollbar */
.sidebar-body::-webkit-scrollbar {
    width: 6px;
}

.sidebar-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.sidebar-body::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.cart-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 12px;
    /* Reduced from 20px */
    font-weight: 600;
}

/* Cart Items (Dark Mode) */
.cart-item-dark {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    transition: var(--wizard-transition);
}

.cart-item-dark.current-item-dark {
    background: rgba(43, 168, 187, 0.08);
    /* Subtle blue glow */
    border: 1.5px solid var(--primary);
    box-shadow: 0 0 15px rgba(43, 168, 187, 0.1);
}

.cart-item-dark.current-item-dark .cart-tv-label {
    color: var(--primary);
}

.cart-item-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.cart-item-title-dark {
    font-size: 1.2rem;
    /* Reduced by 10% from 1.2rem */
    font-weight: 700;
    color: #fff;
}

.cart-tv-label {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
}

.cart-item-actions-dark {
    display: flex;
    gap: 10px;
}

.action-btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-edit-dark {
    background: rgba(43, 168, 187, 0.15);
    color: var(--primary);
}

.btn-edit-dark:hover {
    background: var(--primary);
    color: #fff;
}

.btn-remove-dark {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.btn-remove-dark:hover {
    background: #ff6b6b;
    color: #fff;
}

.cart-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    /* Reduced from 8px */
    font-size: 0.95rem;
}

.detail-label {
    color: #a0a0a0;
}

.detail-val {
    color: #fff;
    font-weight: 500;
}

.detail-row-addon .detail-label {
    color: var(--primary);
}

.detail-row-addon .detail-val {
    color: var(--primary);
}

.cart-item-subtotal-dark {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.subtotal-label {
    font-weight: 600;
    color: #a0a0a0;
    font-size: 0.95rem;
}

.subtotal-val {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Footer Section */
.sidebar-footer {
    margin-top: 5px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.total-label {
    color: #ccc;
    font-weight: 600;
    font-size: 1rem;
}

.total-amount {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
}

.sidebar-actions {
    display: flex;
    gap: 10px;
}

.btn-sidebar-outline {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-sidebar-outline:hover {
    background: rgba(43, 168, 187, 0.1);
}

.btn-sidebar-solid {
    flex: 1;
    padding: 12px;
    background: var(--primary);
    border: 2px solid var(--primary);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-sidebar-solid:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 168, 187, 0.3);
}

.cart-empty-state {
    text-align: center;
    padding: 40px 0;
    color: #666;
    font-style: italic;
}

/* --- Sticky Sidebar (Desktop) --- */
.calc-sidebar {
    display: none;
    /* Hidden on mobile */
}

@media (min-width: 1025px) {
    .calc-sidebar {
        display: block;
        position: sticky;
        top: 110px;
    }

    .sidebar-card {
        background: #fff;
        border-radius: 20px;
        padding: 30px;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        max-height: calc(100vh - 160px);
    }

    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        padding-bottom: 15px;
        border-bottom: 1px solid var(--wizard-border);
    }

    .sidebar-header h3 {
        font-size: 1.2rem;
        margin-bottom: 0;
    }

    .total-summary {
        margin-top: 20px;
        padding-top: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .total-summary p {
        font-weight: 600;
        color: var(--text-dim);
    }

    .total-price {
        font-size: 1rem;
        font-weight: 800;
        color: var(--wizard-primary);
    }

    .sidebar-footer {
        margin-top: 25px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
}

/* --- Bottom Cart Panel (Mobile) --- */
.cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #F2F7F7;
    border-radius: 25px 25px 0 0;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.2);
    z-index: 301;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    max-height: 80vh;
    overflow-y: auto;
    display: block;
    /* Visible by default on mobile if logic triggers */
}

@media (min-width: 1025px) {

    .cart-panel,
    .cart-backdrop {
        display: none !important;
        /* Force hide on desktop */
    }
}

.cart-panel.open {
    transform: translateY(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--wizard-border);
    position: sticky;
    top: 0;
    background: #F2F7F7;
    z-index: 10;
}

.cart-body {
    padding: 20px;
}

.cart-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-item {
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--wizard-border);
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cart-item-title {
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge {
    background: var(--wizard-primary);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
}

.badge-progress {
    background: #ef8e38;
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 12px;
    border-radius: 50px;
    font-weight: 700;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
    letter-spacing: 0.3px;
    font-family: 'Inter', 'Roboto', sans-serif;
}

.cart-item-detail {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.cart-item-subtotal {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px dashed var(--wizard-border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-top: 2px solid var(--wizard-primary);
    margin: 15px;
}

.cart-total-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--wizard-primary);
}

.cart-total-label {
    color: var(--text-dim);
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    gap: 8px;
}

.cart-item-actions button {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    padding: 5px;
    font-size: 0.9rem;
    transition: var(--wizard-transition);
}

.cart-item-actions button:hover {
    color: var(--wizard-primary);
}

.cart-close {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: var(--wizard-transition);
}

.cart-close:hover {
    color: var(--text-main);
}

.cart-header h3 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.cart-header h3 i {
    color: var(--wizard-primary);
}

/* --- Custom Confirmation Modal --- */
.lg-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.lg-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lg-modal-card {
    background: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.lg-modal-overlay.active .lg-modal-card {
    transform: translateY(0);
}

.lg-modal-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.lg-modal-card h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 10px;
}

.lg-modal-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.lg-modal-btns {
    display: flex;
    gap: 12px;
}

.lg-modal-btn {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 0.95rem;
}

.lg-modal-btn-cancel {
    background: #f0f0f0;
    color: #666;
}

.lg-modal-btn-cancel:hover {
    background: #e8e8e8;
}

.lg-modal-btn-confirm {
    background: #ff6b6b;
    color: #fff;
}

.lg-modal-btn-confirm:hover {
    background: #ff5252;
}

/* --- Mobile Button Layout Refinements --- */
@media (max-width: 1024px) {
    .lg-modal-overlay.active {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .step-4-nav {

        flex-direction: row;
        flex-wrap: wrap;
    }

    .step-4-nav #next-step-btn {
        width: 100%;
        flex: 0 0 100%;
        margin-bottom: 5px;
        order: -1;
    }

    .step-4-nav .wizard-btn-outline {
        flex: 1;
    }
}