

.step-1 {
    padding-bottom: 50px;
}


.step-2 {
    padding-bottom: 20px;
}

.step-3 {
    padding-bottom: 10px;
}

.step-4 {
    padding-bottom: 10px;
}




/* =========================
   BASE
========================= */
#absvisa-form {
    max-width: 820px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* =========================
   STEP
========================= */
.step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================
   TYPO
========================= */
#absvisa-form h2 {
    margin-bottom: 10px;
    font-size: 24px;
    text-align: center;
    font-weight: 700;
    color: #1f2a44;
}

#absvisa-form p {
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

/* =========================
   CATEGORY BUTTON
========================= */
.category-wrap {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.category-btn {
    flex: 1;
    padding: 14px;
    background: #eef2ff;
    color: #3f51b5;
    border: 1px solid #e0e7ff;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.25s;
}

.category-btn:hover {
    background: #5c6bc0;
    color: #fff;
}

/* =========================
   SELECT
========================= */
#service-select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    margin-top: 10px;
}

/* =========================
   CARD
========================= */
.service-card {
    text-align: left;
}

.service-card h3 {
    text-align: center;
    margin: 20px 0 10px;
}

.service-card p {
    text-align: center;
}

/* =========================
   SERVICE SECTION
========================= */
.service-card .service-section {
    width: 48%;
    display: inline-block;
    vertical-align: top;
}

.service-card .service-section:first-child {
    margin-right: 4%;
}

.service-section {
    margin-top: 15px;
}

.service-section h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #5c6bc0;
}

/* =========================
   LIST
========================= */
.service-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-section li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.service-section li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 2px;
    color: #5c6bc0;
}

/* =========================
   GRID
========================= */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* =========================
   INPUT
========================= */
.form-grid input,
.form-grid select,
#message {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: 0.2s;
}

#message {
    height: 110px;
    padding: 12px;
}

/* =========================
   FOCUS
========================= */
.form-grid input:focus,
.form-grid select:focus,
#message:focus {
    border-color: #5c6bc0;
    box-shadow: 0 0 0 3px rgba(92,107,192,0.12);
    outline: none;
}

/* =========================
   BUTTON (FOOTER STYLE)
========================= */
.nav-btn {
    position: relative;
    width: 100%;

    background: #fff;
    padding: 10px 16px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-top: 1px solid #eee;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.04);

    margin-top: 15px;
}

button {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

button.next {
    background: linear-gradient(135deg, #5c6bc0, #3f51b5);
    color: #fff;
    box-shadow: 0 6px 16px rgba(92,107,192,0.35);
}

button.prev {
    background: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
}

#send-wa {
    background: linear-gradient(135deg, #25D366, #1ebe5d);
    color: #fff;
}

/* =========================
   MODAL
========================= */
.absvisa-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
}

.absvisa-modal.active {
    opacity: 1;
    visibility: visible;
}

.absvisa-modal-content {
    position: relative;
    width: 95%;
    max-width: 860px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(0,0,0,0.3);

    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.absvisa-header {
    padding: 18px 22px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

/* =========================
   BODY SCROLL (FIX FINAL)
========================= */
.absvisa-body {
    padding: 25px;
    padding-bottom: 0; /* 🔥 FIX UTAMA */
    overflow-y: auto;
    flex: 1;
}

/* =========================
   NAME GROUP
========================= */
.name-group {
    display: flex;
    gap: 10px;
}

.name-group select {
    width: 120px;
    flex-shrink: 0;
}

.name-group .input-wrap {
    flex: 1;
}

/* =========================
   TEXT ALIGN FIX
========================= */
.service-section p,
.service-section li {
    text-align: left !important;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 600px) {

    .form-grid {
        grid-template-columns: 1fr;
    }

    .category-wrap {
        flex-direction: column;
    }

    .absvisa-modal {
        padding: 15px;
    }

    .absvisa-modal-content {
        max-height: 90vh;
    }

    .absvisa-body {
        max-height: calc(85vh - 130px);
        padding-bottom: 0 !important; /* 🔥 FIX MOBILE */
    }

    .name-group {
        flex-direction: column;
    }

    .name-group select {
        width: 100%;
    }

    #service-select {
        appearance: none;
        background: #fff;
        height: 52px;
        padding: 0 45px 0 14px;
        border-radius: 12px;
        font-size: 15px;

        background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='20' viewBox='0 0 20 20' width='20'><path d='M5 7l5 5 5-5'/></svg>");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 18px;
    }
}