/* ====================================
   VANQUISH LIFESTYLE - METHOD STYLES
   ==================================== */

/* LifeStyle Description */
.lifestyle-description {
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: -0.32px;
    color: var(--color-primary);
    max-width: 800px;
    margin: 0 auto;
}

/* LifeStyle Container */
.lifestyle-container {
    /*max-width: 900px;*/
    /*margin: 0 auto;*/
}

/* LifeStyle Cards */
.lifestyle-card {
    background: transparent;
    border: none;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lifestyle-card:hover {
    /*transform: translateY(-2px);*/
}

/* Card Image */
.lifestyle-card__image {
    height: 154px;
    overflow: hidden;
    position: relative;
    border-radius: var(--border-radius);
    border: 1px solid #D9D9D9;
}

.lifestyle-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.lifestyle-card:hover .lifestyle-card__image img {
    /*transform: scale(1.02);*/
}

/* Account Section */
.lifestyle-card__account {
    background: #9C8577;
    padding: 1rem 1.5rem;
    color: white;
    border-radius: var(--border-radius);
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.account-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.account-title {
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.25;
    letter-spacing: -0.64px;
    margin: 0;
}

.account-checkbox {
    display: flex;
    align-items: center;
}

.checkbox-label {
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 600;
    font-size: 0.8125rem; /* 13px */
    letter-spacing: -0.26px;
    color: #F5F5F5;
    margin: 0;
    cursor: pointer;
}

.form-check-input {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #E1E1E1;
    background-color: #E1E1E1;
    cursor: pointer;
    margin: 0;
}

.form-check-input:checked {
    background-color: #666666; /* Grey background */
    border-color: #666666;
    /* Force white tick for consistent look */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23FFFFFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M4 8l3 3 6-6'/%3e%3c/svg%3e");
}

/* Card Content */
.lifestyle-card__content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #E1E1E1;
    border-radius: var(--border-radius);
    border: 1px solid #D9D9D9;
    gap: 1.25rem;
}

/* ==========================================
   LIFESTYLE FUND SECTIONS
   ========================================== */

.lifestyle-fund-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.fund-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fund-label {
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-primary);
    margin: 0;
}

.slider-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-grow: 1;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 23px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.slider-track {
    position: absolute;
    width: 100%;
    height: 7px;
    background-color: white;
    border: 1px solid var(--color-primary);
    border-radius: 3px;
}

.slider-progress {
    position: absolute;
    height: 7px;
    width: 0%;
    background-color: #090909;
    border-radius: 3px;
    transition: var(--transition-smooth);
}

.slider-thumb {
    position: absolute;
    left: 0%;
    transform: translateX(-50%);
    width: 6px;
    height: 23px;
    background-color: #090909;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 2;
}

.slider-thumb:hover {
    transform: translateX(-50%) scale(1.1);
}

.percentage-input {
    background-color: white;
    border: 1px solid #090909;
    border-radius: 5px;
    padding: 5px 10px;
    width: 53px;
    height: 40px;
    text-align: center;
    font-family: 'Wix Madefor Display', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
}

.percentage-input:focus {
    outline: none;
    border-color: #748a90;
}

.target-date-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.target-date-label {
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--color-primary);
    margin: 0;
    white-space: nowrap;
}

.target-date-selector {
    background-color: white;
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--color-primary);
    min-width: 120px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.target-date-selector:focus {
    outline: none;
    border-color: #748a90;
}

/* ==========================================
   DATE SELECTOR
   ========================================== */

.date-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date-selector label {
    font-family: 'Wix Madefor Display', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-primary);
}

.custom-select {
    background-color: white;
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--color-primary);
    min-width: 120px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.custom-select:focus {
    outline: none;
    border-color: #53698C;
}

/* Navigation Buttons */
/*.btn-back, .btn-next {*/
/*    min-width: 180px;*/
/*}*/

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 991px) {
    /* On tablets, show 2 columns */
    .lifestyle-container .col-lg-4 {
        max-width: 50%;
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    /* On mobile, stack vertically */
    .lifestyle-container .col-md-6 {
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .lifestyle-description {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    
    /*.page-title {*/
    /*    font-size: 1.5rem;*/
    /*}*/
    
    /* Adjust card spacing on mobile */
    .account-checkbox {
        position: static;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .lifestyle-card__account {
        flex-direction: column;
        height: auto;
        padding: 0.75rem 1rem;
    }
    
    .account-title {
        font-size: 1.75rem;
    }
    
    .lifestyle-card__content {
        padding: 1rem;
    }
    
    /* Navigation on mobile */
    /*.page-navigation .d-flex {*/
    /*    flex-direction: column;*/
    /*    gap: 1rem;*/
    /*}*/
    
    /*.btn-back, .btn-next {*/
    /*    min-width: 100%;*/
    /*}*/
}

@media (max-width: 480px) {
    /*.page-title {*/
    /*    font-size: 1.25rem;*/
    /*}*/
    
    .account-title {
        font-size: 1.5rem;
    }
    
    .slider-labels {
        font-size: 0.875rem;
    }
    
    .value-box {
        font-size: 0.875rem;
        padding: 0.25rem 0.5rem;
        min-width: 45px;
    }
    
    .custom-select {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
        min-width: 100px;
        padding-right: 2rem;
    }
}

/* Slider Overlay */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 10;
    pointer-events: all;
    cursor: not-allowed;
}
