/* * LifePlanning Practice Assessment - PREMIUM EDITION
 * Optimized for high-end iPad Kiosks
 */

:root {
    --midnight: #0f172a;
    --navy-deep: #1e293b;
    --gold-metallic: #c9a84c;
    --gold-text: #eab308;
    --track-dark: #334155;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --premium-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base Container */
#lp-assessment-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--midnight);
    line-height: 1.6;
    background: #ffffff;
    /*border: 1px solid rgba(0,0,0,0.05);*/
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    max-width: 620px;
    margin: 0 auto;
}

/* Headers & Tags */
.lp-tag {
    letter-spacing: 0.15em;
    font-weight: 800;
    font-size: 10px;
    color: #94a3b8;
}

h1, h2, h3 {
    letter-spacing: -0.02em;
    font-weight: 800;
}

/* Premium Slider - The "Gold Bar" Look (image_d8d580.png style) */
.lp-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: var(--track-dark);
    border-radius: 20px;
    outline: aquamarine;
    margin: 18px 0px;
    cursor: pointer;
    border: 1px solid #3b3b3b;
}

.lp-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--gold-metallic);
    border: 1px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lp-slider::-webkit-slider-thumb:active {
    transform: scale(1.05);
}

/* Premium Radio Cards - Responsive for iPad */
.lp-radio {
    display: flex;
    align-items: center;
    /*padding: 24px 30px;*/
    /*margin-bottom: 16px;*/
    background: #ffffff;
    /*border: 2px solid #f1f5f9;*/
    /*border-radius: 22px;*/
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 13px 16px;
    border-radius: 8px;
    border: 0.5px solid #ccc;
    cursor: pointer;
    font-size: 15px;
    color: #111;
    margin-bottom: 8px;
}

.lp-radio:hover {
    border-color: var(--gold-text);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* Checkmark logic integrated into the card */
.lp-radio input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    margin-right: 20px;
    display: grid;
    place-content: center;
    background: white;
    transition: 0.2s;
}

.lp-radio input[type="radio"]::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transform: scale(0);
    transition: 0.2s transform ease-in-out;
    background: var(--gold-metallic);
}

.lp-radio:has(input:checked) {
    border-color: var(--gold-text);
    background: #fffdf5;
    box-shadow: 0 8px 15px rgba(234, 179, 8, 0.1);
}

.lp-radio input[type="radio"]:checked {
    border-color: var(--gold-text);
}

.lp-radio input[type="radio"]:checked::before {
    transform: scale(1);
}

/* The Main CTA Button */
#next-btn, .lp-btn-primary {
     background: #1B2B4B;
    color: #C9A84C;
    border: none;
    border-radius: 20px;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    /*border: 0.5px solid #ccc;*/
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 10px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.3);
    transition: all 0.3s ease;
}

#next-btn:active {
    transform: scale(0.98);
}

/*------------------------------------------------------------*/


.text-gray-400{
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 10px;
}

.text-3xl{
        font-size: 22px;
    font-weight: 500;
    color: #111;
    margin-bottom: 12px;
    line-height: 1.3;
}

.text-gray-600{
        font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

#step-0{
    padding:0px;
    margin:0px;
}

.step{
    margin:0px!important;
    padding:0px!important;
    box-shadow:none!important;
}

.lp-progress-wrap {
    height: 3px;
    background: #e0e0e0;
    border-radius: 2px;
    margin-bottom: 24px;
}

.lp-stat-card {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 12px 10px;
    text-align: center;
}

.lp-progress-fill
 {
    height: 3px;
    background: #C9A84C;
    border-radius: 2px;
    transition: width 0.3s;
}


.lp-btn-primary {
    background: #1B2B4B;
    color: #C9A84C;
    border: none;
    
}

.lp-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    /*border: 0.5px solid #ccc;*/
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 10px;
    text-align: center;
}

.lp-btn-primary:hover{
        color: #ffffff;
    background-color: #3f4047;
    
}


.lp-tag {
    font-size: 11px!important;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 10px;
}


.lp-q-title {
    font-size: 20px!important;
    font-weight: 500!important;
    color: #111!important;
    margin-bottom: 6px!important;
    line-height: 1.3!important;
    text-align:start!important;
}

.lp-q-sub {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}

.lp-slider-val {
    font-size: 24px;
    font-weight: 500;
    color: #C9A84C;
}

.lp-slider-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.lp-slider-end {
    font-size: 12px;
    color: #aaa;
}


input[type=range].lp-range {
    width: 100%;
    margin-bottom: 24px;
    accent-color: #C9A84C;
}


#back-link {
    background: none;
    border: none;
    color: #888;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    margin-top: 8px;
    margin-bottom: 0px;
        text-align: justify;
    font-weight: 500;
    text-transform: capitalize;
}




.lp-h1 {
    font-size: 22px;
    font-weight: 500;
    color: #111;
    margin-bottom: 12px;
    line-height: 1.3;
}



.lp-bucket.accent {
    background: #1B2B4B;
}

.lp-bucket {
    /*background: #f5f5f5;*/
    border-radius: 8px;
    padding: 16px 14px;
}

.lp-bucket.accent .lp-bucket-num {
    color: #C9A84C;
}

.lp-bucket-num {
    font-size: 26px;
    font-weight: 500;
    /*color: #111;*/
    margin-bottom: 2px;
}


.lp-bucket-lbl {
    font-size: 16px;
    color: rgb(201 168 76 / 85%);
    line-height: 1.4;
    margin-bottom:0px;
}

.lp-bucket-sub {
    font-size: 14px;
    color: rgb(201 168 76 / 60%);
    margin-top: 4px;
    line-height: 1.4;
     margin-bottom:0px;
}

.lp-h2 {
    font-size: 15px;
    font-weight: 500;
    color: #111;
    margin-bottom: 10px;
    margin-top: 20px;
}

.lp-year-card {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px 12px;
    text-align: center;
}

.lp-year-lbl {
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lp-year-num {
    font-size: 18px;
    font-weight: 500;
    color: #111;
    margin-bottom:0px;
}


.lp-year-sub {
    font-size: 12px;
    color: #000;
    margin-top: 2px;
    margin-bottom:0px;
}




.lp-bucket
 {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 16px 14px;
}


.lp-insight-box {
    background: #f9f4f4;
    border-left: 3px solid #7A1B2A;
    border-radius: 0 8px 8px 0;
    padding: 14px 16px;
    margin-bottom: 10px;
}


.lp-sm-card {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 12px 14px;
}


.lp-insight-text {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/*---------------------------------------------------------*/


/* Results Hero Section */
.bg-\[\#1e293b\] {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: var(--premium-shadow);
}

/* Milestone Cards */
.bg-gray-50 {
    background: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 20px !important;
    transition: transform 0.3s ease;
}

.bg-gray-50:hover {
    transform: translateY(-5px);
    border-color: var(--gold-text) !important;
}

/* Dashboard Animations */
.animate-fade-in {
    animation: premiumUnfold 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes premiumUnfold {
    from { 
        opacity: 0; 
        transform: scale(0.98) translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: scale(1) translateY(0); 
    }
}

/* Hardware Acceleration */
#results-dashboard, #portalChart {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform, opacity;
}

/* Mobile/iPad Specific Fixes */
@media (max-width: 1024px) {
    #lp-assessment-container {
        border-radius: 0;
        box-shadow: none;
    }
    
    .p-8, .p-10, .p-12 {
        padding: 40px !important;
    }
}





/* --- PREMIUM GHL LEAD FORM STYLES --- */

/* 1. Fix Checkbox Sizes & Design */
#lead-form-box input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important; /* Prevents shrinking */
    background-color: #fff;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.2s ease;
    margin-right: 12px !important;
    flex-shrink: 0; /* Important: stops text from squishing the box */
}

/* 2. Checkbox "Checked" State (Blue with White Check) */
#lead-form-box input[type="checkbox"]:checked {
    background-color: #007bff;
    border-color: #007bff;
}

#lead-form-box input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

/* 3. Style the Input Field (Email) */
#lead-email {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    font-size: 15px !important;
    color: #1e293b !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease;
}

#lead-email:focus {
    border-color: #eab308 !important; /* Gold border on focus */
}

/* 4. Style the Button (Pill Design) */
#submit-btn {
    background: #1e293b !important;
    color: #ffffff !important;
    border-radius: 50px !important; /* Makes it a pill shape */
    padding: 14px 30px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.15) !important;
}

#submit-btn:hover {
    background: #0f172a !important;
    transform: translateY(-1px);
}

/* 5. Improve Text Alignment */
#lead-form-box label {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 12px !important;
}

#lead-form-box label span {
    margin-top: -2px; /* Pulls text up to align with box center */
    font-size: 14px;
    line-height: 1.5;
}