/* Formani markazga qo'yish */
#msform {
    width: 100%;
    max-width: 420px;
    margin: 120px auto;
    text-align: center;
    position: relative;
}

/* Fieldset card style */
#msform fieldset {
    background: white;
    border: none;
    border-radius: 15px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

#msform fieldset:not(:first-of-type) {
    display: none;
}

#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    counter-reset: step;
    display: flex;
    justify-content: space-between;
}

#progressbar li {
    list-style: none;
    font-size: 12px;
    width: 100%;
    position: relative;
    color: #999;
}

#progressbar li:before {
    counter-increment: step;
    content: counter(step);
    width: 35px;
    height: 35px;
    line-height: 35px;
    display: block;
    font-size: 14px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 auto 10px auto;
}

#progressbar li.active {
    color: #27ae60;
}

#progressbar li.active:before {
    background: #27ae60;
    color: white;
}

#msform input,
#msform select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
    font-size: 14px;
    margin-bottom: 15px;
    transition: 0.3s;
}

#msform input:focus,
#msform select:focus {
    border-color: #27ae60;
    outline: none;
    box-shadow: 0 0 5px rgba(39,174,96,0.3);
}

.action-button {
    background: #27ae60;
    color: white;
    border: none;
    padding: 10px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin: 5px;
    transition: 0.3s;
}

.action-button:hover {
    background: #219150;
}

.previous {
    background: #6c757d;
}

.previous:hover {
    background: #555;
}

@media (max-width: 768px) {

    #msform{
        margin-top:100px;
        padding:10px;
    }
    
    #progressbar li {
        font-size:10px;
    }
    
    }