/* ===== register2 shared styles ===== */

/* --- card wrapper --- */
.register_form {
    max-width: 800px !important;
    margin: auto;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px 20px 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}
.payment_form {
    max-width: 800px !important;
    margin: auto;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px 20px 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}
.check_form {
    max-width: 800px !important;
    margin: auto;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 24px 20px 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

/* --- step bar --- */
#step {
    max-width: 880px;
    margin: 0 auto 1.5rem;
}

.step-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.step-item {
    flex: 0 0 auto;
    text-align: center;
}

.step-label {
    font-size: 14px;
    white-space: nowrap;
    margin-top: 8px;
    margin-bottom: 0;
}

.step-bubble {
    width: 45px;
    height: 45px;
    font-size: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid #ccc;
    background-color: #fff;
    color: #666;
}

.step-bubble.active {
    width: 50px;
    height: 50px;
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.4);
}

.step-label.active {
    color: #007bff;
}

.step-connector {
    flex: 1 1 auto;
    height: 3px;
    background-color: #ccc;
    margin-top: -15px;
    min-width: 30px;
}

#section-register .form-group {
    margin-bottom: 14px;
}

#section-register .control-label {
    color: #2c3e50;
    font-weight: 600;
    padding-top: 8px;
}

#section-register .form-control {
    min-height: 42px;
    border-radius: 8px;
    border: 1px solid #ced4da;
    box-shadow: none;
}

#section-register textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

#section-register input[type="file"] {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border: 1px dashed #b7c5d3;
    border-radius: 8px;
    background: #f8fafc;
}

#section-register input[type="file"] + b {
    display: inline-block;
    margin-top: 8px;
    color: #5f6b76;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

#section-register .btn.btn-primary,
#section-register .btn-submit {
    min-width: 180px;
    min-height: 42px;
    border-radius: 8px;
    font-weight: 600;
}

#section-register .alert {
    border-radius: 8px;
}

.datepicker-days {
    margin: 0.5rem;
}

/* --- responsive --- */
@media (max-width: 767px) {
    .register_form {
        border-radius: 10px;
        padding: 14px 12px 18px;
    }

    #section-register .control-label {
        margin-bottom: 6px;
        padding-top: 0;
    }

    #section-register .btn.btn-primary,
    #section-register .btn-submit {
        width: 100%;
        min-width: 0;
    }
}