/* === Perbaikan Tampilan Tabel Prospek Member Area === */

.ar-pagination{display:flex;gap:8px;justify-content:flex-end;margin-top:14px;flex-wrap:wrap}
.ar-pagination .page-numbers{padding:6px 10px;border:1px solid #e5e7eb;border-radius:6px;text-decoration:none}
.ar-pagination .current{background:#2563eb;color:#fff;border-color:#2563eb}
.ar-pagination .disabled{opacity:.4;cursor:not-allowed}


.ar-prospect-table th,
.ar-prospect-table td {
    /* Mencegah teks turun baris dan membuat kolom lebih rapi */
    white-space: nowrap; 
    /* Menambah jarak di dalam sel agar tidak dempet */
    padding: 14px 20px; 
}

/* Sedikit penyesuaian untuk kolom status agar lebih menonjol */
.ar-prospect-table td .status-dihubungi {
    color: #e67e22;
    font-weight: bold;
    background-color: #fdf3e6;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

.ar-prospect-table td .status-belum-dihubungi {
    color: #34495e;
    background-color: #ecf0f1;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* SECTION MENU + LOGOUT */
.ar-member-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding-bottom: 0px;
    margin-bottom: 32px;
    background: #f9fafb;
    gap: 12px;
}

.ar-member-menu {
    display: flex;
    gap: 24px;
    font-family: inherit;
}

.ar-member-menu a,
.ar-logout-link {
    font-weight: 500;
    font-size: 17px;
    color: #1976d2;
    padding: 8px 18px 7px 18px;
    border-radius: 14px 14px 0 0;
    background: transparent;
    transition: background .18s, color .18s;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    text-decoration: none !important; /* Hilangkan underline */
    outline: none;
}

.ar-member-menu a.active,
.ar-member-menu a:focus,
.ar-member-menu a:hover {
    background: #e3f1fd;
    color: #1976d2;
    border-bottom: 2px solid #1976d2;
}

.ar-logout-link {
    color: #c0392b !important;
    background: #fff4f4;
    border-radius: 16px;
    border-bottom: none;
    padding: 7px 16px;
    margin-left: 14px;
    font-weight: bold;
    transition: background .18s, color .18s;
    text-decoration: none !important;
}

.ar-logout-link:hover,
.ar-logout-link:focus {
    background: #ffe2e2;
    color: #a93226 !important;
}

@media (max-width: 700px) {
    .ar-member-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding-bottom: 0px;
    }
    .ar-member-menu {
        overflow-x: auto;
        gap: 9px;
        font-size: 15px;
    }
    .ar-member-menu a,
    .ar-logout-link {
        font-size: 15px;
        padding: 7px 12px 6px 12px;
    }
}

/* =========== RESPONSIVE TABEL =========== */
.ar-responsive-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ar-prospect-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    background: #fff;
    margin-bottom: 40px;
    min-width: 640px; /* Agar selalu bisa scroll jika layar kecil */
    box-shadow: 0 4px 16px #eee8;
    border-radius: 12px;
    overflow: hidden;
}

.ar-prospect-table th,
.ar-prospect-table td {
    border-bottom: 1px solid #f0f0f0;
    padding: 13px 15px;
    text-align: left;
}

.ar-prospect-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #444;
}

.ar-prospect-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 700px) {
    .ar-prospect-table {
        font-size: 14px;
        min-width: 520px;
    }
}

/* Kolom Nama lebih lebar di mobile/tablet */
@media (max-width: 700px) {
    .ar-prospect-table th:nth-child(2),
    .ar-prospect-table td:nth-child(2) {
        min-width: 120px;     /* Atau 140px, tes sesuai kebutuhan */
        max-width: 180px;
        white-space: normal;  /* Allow wrap nama panjang */
        word-break: break-word;
    }
    .ar-prospect-table th,
    .ar-prospect-table td {
        font-size: 13px;
        padding-left: 8px;
        padding-right: 8px;
    }
    .ar-prospect-table td {
        vertical-align: top;
    }
}





.ar-loading {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #eee;
  border-top: 2px solid #27ae60;
  border-radius: 50%;
  animation: ar-spin 1s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes ar-spin { 100% { transform: rotate(360deg); } }
