/* LIFE AREA WIZARD */


.life-wizard-overlay {


position:fixed;


inset:0;


background:rgba(38,52,69,.82);


backdrop-filter:blur(8px);


display:flex;


align-items:center;


justify-content:center;


z-index:1000;


padding:20px;


}





.life-wizard-modal {


background:


linear-gradient(
135deg,
#ffffff,
var(--ivory)
);


width:100%;


max-width:750px;


max-height:90vh;


border-radius:35px;


padding:45px;


box-shadow:


0 30px 80px rgba(38,52,69,.35);


position:relative;


overflow:auto;


}





.life-wizard-close {


position:absolute;


top:22px;


right:28px;


height:40px;


width:40px;


border-radius:50%;


border:none;


background:


linear-gradient(
135deg,
var(--champagne),
var(--gold)
);


font-size:24px;


cursor:pointer;


color:var(--ink);


font-weight:bold;


display:flex;


align-items:center;


justify-content:center;


line-height:1;


padding:0;


}





.wizard-progress {


text-transform:uppercase;


letter-spacing:2px;


font-size:12px;


color:var(--blue);


margin-bottom:25px;


}





.life-wizard-modal h2 {


font-size:32px;


letter-spacing:-.5px;


color:var(--ink);


margin-bottom:10px;


}





.life-wizard-modal p {


color:var(--muted);


line-height:1.6;


margin-bottom:30px;


}





#wizard-content {


margin-top:25px;


}





#wizard-content label {


display:block;


font-size:14px;


font-weight:bold;


color:var(--ink);


margin:20px 0 8px;


}





#wizard-content input,
#wizard-content textarea {


width:100%;


border:


1px solid rgba(38,52,69,.12);


border-radius:18px;


padding:16px;


font-family:inherit;


font-size:15px;


background:white;


color:var(--ink);


box-shadow:


0 8px 20px rgba(38,52,69,.06);


}





#wizard-content textarea {


min-height:140px;


resize:vertical;


}





#wizard-content input:focus,
#wizard-content textarea:focus {


outline:none;


border-color:var(--champagne);


box-shadow:


0 0 0 4px rgba(215,190,130,.25);


}


#wizard-content select {


width:100%;


border:
1px solid rgba(38,52,69,.12);


border-radius:18px;


padding:16px;


font-family:inherit;


font-size:15px;


background:white;


color:var(--ink);


box-shadow:
0 8px 20px rgba(38,52,69,.06);


appearance:none;


-webkit-appearance:none;


-moz-appearance:none;


background-image:
linear-gradient(45deg, transparent 50%, var(--blue) 50%),
linear-gradient(135deg, var(--blue) 50%, transparent 50%);


background-position:
calc(100% - 22px) calc(50% - 3px),
calc(100% - 16px) calc(50% - 3px);


background-size:
6px 6px,
6px 6px;


background-repeat:no-repeat;


cursor:pointer;


}




#wizard-content select:focus {


outline:none;


border-color:var(--champagne);


box-shadow:
0 0 0 4px rgba(215,190,130,.25);


}


.goal-card,
.habit-card,
.action-card {


background:


rgba(255,255,255,.8);


border:


1px solid rgba(38,52,69,.08);


border-radius:25px;


padding:25px;


margin-bottom:25px;


box-shadow:


0 10px 30px rgba(38,52,69,.08);


}





.goal-card h3,
.goal-card h4 {


color:var(--ink);


}





.wizard-buttons {


display:flex;


justify-content:space-between;


gap:15px;


margin-top:35px;


}





.wizard-buttons button,
#add-goal,
.add-habit,
.add-action {


border:none;


border-radius:30px;


padding:14px 28px;


font-family:inherit;


font-size:15px;


font-weight:bold;


cursor:pointer;


background:


linear-gradient(
135deg,
var(--champagne),
var(--gold)
);


color:var(--ink);


box-shadow:


0 8px 20px rgba(0,0,0,.15);


transition:.25s;


}





.wizard-buttons button:hover,
#add-goal:hover,
.add-habit:hover,
.add-action:hover {


transform:translateY(-3px);


box-shadow:


0 12px 25px rgba(0,0,0,.2);


}





#wizard-back {


background:


linear-gradient(
135deg,
#EEF2F8,
#E8EDF5
);


}





#vision-image-preview img {


max-width:100%;


border-radius:25px;


margin-top:20px;


box-shadow:


0 15px 35px rgba(38,52,69,.15);


}





@media(max-width:700px){


.life-wizard-overlay {


padding:12px;


align-items:flex-end;


}





.life-wizard-modal {


max-height:92vh;


border-radius:30px 30px 0 0;


padding:30px;


}





.life-wizard-modal h2 {


font-size:26px;


}





.wizard-buttons {


flex-direction:column-reverse;


}





.wizard-buttons button {


width:100%;


}


}

 /* SAVE SUCCESS MESSAGE */

.life-save-success {
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%) translateY(20px);

    background: var(--champagne);
    color: var(--ink);

    padding: 20px 30px;
    border-radius: 20px;

    box-shadow: 0 20px 50px rgba(0,0,0,.25);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;

    opacity: 0;
    pointer-events: none;

    transition: .3s ease;

    z-index: 2000;

    text-align: center;
}

.life-save-success.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.life-save-success strong {
    font-size: 17px;
}

.life-save-success span {
    font-size: 13px;
    color: rgba(38,52,69,.65);
}

/* =========================================================
   WIZARD RADIO BUTTONS & DAY CHOICES
   ========================================================= */


/* ---------------------------------------------------------
   HABIT SCHEDULE
   --------------------------------------------------------- */

.habit-radio-group {
    display: flex;
    gap: 10px;
    margin: 8px 0 18px;
}


.habit-radio {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}


.habit-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}


.habit-radio span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 10px 18px;
    border: 1px solid #d8d4cc;
    border-radius: 12px;
    background: #fff;
    color: #263445;
    font-size: 14px;
    font-weight: 500;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}


.habit-radio:hover span {
    border-color: #4F6385;
    background: #f7f8fa;
}


.habit-radio input[type="radio"]:checked + span {
    background: #4F6385;
    border-color: #4F6385;
    color: #fff;
    box-shadow: 0 3px 8px rgba(38, 52, 69, 0.15);
}


/* ---------------------------------------------------------
   COMPACT HABIT DAYS
   --------------------------------------------------------- */

#wizard-content .habit-days {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 12px;
    margin: 4px 0 10px;
    padding: 0;
}

#wizard-content .habit-day {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto;
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-weight: normal;
    color: #555;
    line-height: 1.2;
    cursor: pointer;
}

#wizard-content .habit-day input[type="checkbox"] {
    width: 13px;
    height: 13px;
    margin: 0;
    padding: 0;
    flex: 0 0 13px;
    accent-color: #4F6385;
    cursor: pointer;
}


/* ---------------------------------------------------------
   ACTION TYPE
   --------------------------------------------------------- */

.action-radio-group {
    display: flex;
    gap: 10px;
    margin: 8px 0 18px;
}


.action-radio {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
}


.action-radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}


.action-radio span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 10px 18px;
    border: 1px solid #d8d4cc;
    border-radius: 12px;
    background: #fff;
    color: #263445;
    font-size: 14px;
    font-weight: 500;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}


.action-radio:hover span {
    border-color: #4F6385;
    background: #f7f8fa;
}


.action-radio input[type="radio"]:checked + span {
    background: #4F6385;
    border-color: #4F6385;
    color: #fff;
    box-shadow: 0 3px 8px rgba(38, 52, 69, 0.15);
}


/* ---------------------------------------------------------
   ACTION DUE DATE CHECKBOX
   --------------------------------------------------------- */

/* ---------------------------------------------------------
   ACTION DUE DATE CHECKBOX
   --------------------------------------------------------- */

#wizard-content .action-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    margin: 10px 0;
    padding: 0;
    cursor: pointer;
}

#wizard-content .action-checkbox-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 0;
    padding: 0;
    flex: 0 0 17px;
    accent-color: #4F6385;
    cursor: pointer;
}

#wizard-content .action-checkbox-label span {
    display: inline;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: normal;
    color: #263445;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 650px) {




    .habit-radio-group,
    .action-radio-group {
        flex-direction: column;
    }


    .habit-radio span,
    .action-radio span {
        width: 100%;
    }

}