
/* ===== Container ===== */

.cs-container{
    width:100%;
    max-width:900px;
    margin:220px auto 90px;
    background:white;
    padding:35px;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,0.08);
}

/* ===== Progress ===== */

.cs-progress-wrapper{
    margin-bottom:30px;
}

.cs-step-indicator{
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
    font-size:13px;
    font-weight:600;
}

.cs-step-indicator div{
    text-align:center;
    flex:1;
    color:#aaa;
}

.cs-step-indicator .cs-active{
    color:#ff5a60;
}

.cs-progress{
    height:8px;
    background:#eee;
    border-radius:50px;
    overflow:hidden;
}

.cs-progress-bar{
    height:8px;
    width:33%;
    background:linear-gradient(90deg,#ff5a60,#ff7e83);
    transition:.4s ease;
}

/* ===== Headings ===== */

.cs-container h2{
    margin-bottom:25px;
    font-weight:600;
    color:#333;
    font-size: 1.2rem;
}

/* ===== Form ===== */

.cs-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.cs-container label{
    font-size:14px;
    font-weight:500;
    color:#444;
}

.cs-input{
    width:100%;
    padding:14px;
    margin-top:6px;
    border:1px solid #e0e0e0;
    border-radius:10px;
    background:#fafafa;
    transition:.3s;
    font-size:14px;
}

.cs-input:focus{
    border-color:#ff5a60;
    outline:none;
    background:white;
    box-shadow:0 0 0 3px rgba(255,90,96,0.15);
}


/* ===== Gender ===== */

.cs-gender-group{
    display:flex;
    gap:20px;
    margin-top:10px;
}

.cs-gender-group input{
    accent-color:#ff5a60;
    transform:scale(1.2);
    width: auto;
    height: auto;
}

/* ===== Buttons ===== */

.cs-btn-group{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:15px;
    margin-top:30px;
}

.cs-btn{
    padding:12px 30px;
    border-radius:50px;
    border:none;
    cursor:pointer;
    font-weight:500;
    transition:.3s;
    min-width:130px;
}

.cs-btn-primary{
    background:#ff5a60;
    color:white;
}

.cs-btn-primary:hover{
    background:#e94b50;
}

.cs-btn-secondary{
    background:#ddd;
    color:#333;
}

.cs-btn-secondary:hover{
    background:#ccc;
}

/* ===== Steps ===== */

.cs-step{
    display:none;
    animation:cs-fade .4s ease;
}

.cs-step.cs-active{
    display:block;
}

@keyframes cs-fade{
    from{opacity:0;transform:translateY(10px)}
    to{opacity:1;transform:translateY(0)}
}

/* ===== Responsive ===== */

@media(max-width:768px){

    .cs-container{
        padding:25px;
        margin:30px auto;
    }

    .cs-btn-group{
        flex-direction:column;
    }

    .cs-btn{
        width:100%;
    }

    .cs-step-indicator{
        font-size:12px;
    }
}

@media(max-width:480px){

    .cs-container h2{
        font-size:20px;
    }

    .cs-input{
        padding:12px;
    }
}