/* =========================
   WRAPPER
========================= */

.ctr-wrapper{
    max-width:1100px;
    margin:50px auto;
    background:#ffffff;
    border-radius:24px;
    padding:40px;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
    position:relative;
}

/* =========================
   HEADER
========================= */

.ctr-header{
    text-align:center;
    margin-bottom:40px;
}

.ctr-header h1{
    margin:0 0 12px;
    color:#0F4C81;
    font-size:34px;
    line-height:1.6;
    font-weight:800;
}

.ctr-header p{
    margin:0;
    color:#666;
    font-size:16px;
}

/* =========================
   PROGRESS
========================= */

.ctr-progress{
    display:flex;
    justify-content:center;
    gap:14px;
    margin-bottom:45px;
    flex-wrap:wrap;
}

.ctr-progress-item{
    width:48px;
    height:48px;
    border-radius:50%;
    background:#e5e7eb;
    color:#666;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    transition:.3s;
}

.ctr-progress-item.active{
    background:#0F4C81;
    color:#fff;
    box-shadow:0 8px 20px rgba(15,76,129,.25);
}

/* =========================
   STEP
========================= */

.ctr-step{
    display:none;
}

.ctr-step.active{
    display:block;
}

.ctr-step h3{
    margin-bottom:25px;
    color:#0F4C81;
    font-size:24px;
    font-weight:700;
}

.ctr-step h4{
    margin-top:25px;
    margin-bottom:15px;
    color:#222;
    font-size:18px;
}

/* =========================
   INPUTS
========================= */

.ctr-step input[type="text"],
.ctr-step input[type="tel"],
.ctr-step input[type="email"],
.ctr-step input[type="url"],
.ctr-step textarea,
.ctr-step select{

    width:100%;
    border:1px solid #d9d9d9;
    border-radius:14px;
    padding:14px 16px;
    margin-bottom:15px;
    font-size:15px;
    background:#fff;
    transition:.3s;
    box-sizing:border-box;
}

.ctr-step input:focus,
.ctr-step textarea:focus,
.ctr-step select:focus{

    outline:none;
    border-color:#0F4C81;
    box-shadow:0 0 0 4px rgba(15,76,129,.08);
}

.ctr-step textarea{
    min-height:130px;
    resize:vertical;
}

/* =========================
   FILE INPUT
========================= */

.ctr-step input[type="file"]{

    width:100%;
    background:#f7f8fa;
    border:2px dashed #d9d9d9;
    border-radius:14px;
    padding:15px;
    margin-bottom:20px;
    cursor:pointer;
}

/* =========================
   CHECKBOX & RADIO
========================= */

.ctr-step label{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
    cursor:pointer;
    line-height:1.7;
}

.ctr-step input[type="checkbox"],
.ctr-step input[type="radio"]{
    width:auto;
    margin:0;
}

/* =========================
   OPTION GRID
========================= */

.ctr-options{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    margin-top:10px;
    margin-bottom:20px;
}

/* =========================
   NOTICE BOX
========================= */

.ctr-notice{

    background:#fff8e7;
    border:1px solid #f3d38b;
    border-radius:16px;
    padding:20px;
    margin:25px 0;
}

.ctr-notice strong{
    display:block;
    margin-bottom:10px;
    color:#8a5a00;
}

.ctr-notice ul{
    margin:0;
    padding-right:20px;
}

.ctr-notice li{
    margin-bottom:8px;
    line-height:1.8;
}

/* =========================
   NAV BUTTONS
========================= */

.ctr-nav{
    display:flex;
    justify-content:space-between;
    gap:15px;
    margin-top:30px;
}

.ctr-next,
.ctr-prev,
button[type="submit"]{

    border:none;
    border-radius:14px;
    padding:15px 30px;
    cursor:pointer;
    font-size:15px;
    font-weight:700;
    transition:.3s;
}

.ctr-next,
button[type="submit"]{
    background:#0F4C81;
    color:#fff;
}

.ctr-next:hover,
button[type="submit"]:hover{
    background:#0a3961;
}

.ctr-prev{
    background:#eef2f7;
    color:#333;
}

.ctr-prev:hover{
    background:#dde5ef;
}

/* =========================
   TERMS
========================= */

.ctr-step label:last-child{
    font-weight:600;
}

/* =========================
   SUCCESS STATE
========================= */

button:disabled{
    opacity:.6;
    cursor:not-allowed;
}

/* =========================
   MOBILE
========================= */

@media(max-width:768px){

    .ctr-wrapper{
        padding:20px;
        margin:20px;
        border-radius:18px;
    }

    .ctr-header h1{
        font-size:24px;
    }

    .ctr-progress-item{
        width:40px;
        height:40px;
        font-size:14px;
    }

    .ctr-nav{
        flex-direction:column;
    }

    .ctr-options{
        grid-template-columns:1fr;
    }

    .ctr-next,
    .ctr-prev,
    button[type="submit"]{
        width:100%;
    }
}