/* =========================================================
   CATALOG & MARKETPLACE STYLES (beli-akun.php & jual-akun.php)
   JualBeliAkun.id - High Aesthetic Modern Architecture
   ========================================================= */

/* Hero Section Extension */
.page-hero {
    position: relative;
    padding: 150px 0 70px;
    background:
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.22), transparent 30%),
        radial-gradient(circle at 15% 75%, rgba(124, 58, 237, 0.2), transparent 35%),
        linear-gradient(135deg, #06132d 0%, #0b1f45 50%, #150d30 100%);
    color: #fff;
    overflow: hidden;
    text-align: center;
}

.page-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #67e8f9;
    margin-bottom: 20px;
}

.page-hero h1 {
    font: 800 clamp(30px, 5vw, 48px) / 1.15 "Plus Jakarta Sans", sans-serif;
    letter-spacing: -1.2px;
    max-width: 820px;
    margin: 0 auto 18px;
}

.page-hero h1 .text-gradient {
    background: linear-gradient(135deg, #67e8f9 10%, #38bdf8 45%, #c084fc 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero .hero-sub {
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.75;
    color: #cbd5e1;
    max-width: 680px;
    margin: 0 auto 30px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    margin-top: 25px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.06);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-pill i {
    color: #38bdf8;
}

/* =========================================================
   CATALOG FILTER & TOOLBAR (beli-akun.php)
   ========================================================= */
.catalog-section {
    padding: 50px 0 90px;
    background: #f8fafc;
    min-height: 600px;
}

.catalog-toolbar {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
    margin-bottom: 35px;
}

/* Status Tabs Container & Buttons */
.status-tabs-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.status-tabs-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.status-tabs-label {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-tabs {
    display: inline-flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 14px;
    gap: 4px;
    border: 1px solid #e2e8f0;
}

.status-tab-btn {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.status-tab-btn:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.6);
}

.status-tab-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    font-weight: 700;
}

.badge-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    background: #e2e8f0;
    color: #334155;
}

.status-tab-btn.active .badge-count {
    background: #eff6ff;
    color: #2563eb;
}

.badge-count.count-available {
    background: #dcfce7;
    color: #166534;
}

.badge-count.count-sold {
    background: #fee2e2;
    color: #991b1b;
}

.status-glow {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-glow.available {
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.status-glow.sold {
    background: #ef4444;
}

.status-tabs-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sync-indicator-text {
    font-size: 12px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-sync-refresh {
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.2s ease;
}

.btn-sync-refresh:hover {
    background: #2563eb;
    color: #ffffff;
}

.filter-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 260px;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    pointer-events: none;
}

.search-box input {
    width: 100%;
    padding: 13px 18px 13px 44px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: #0f172a;
    transition: 0.25s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.filter-selects {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.custom-select-wrap select {
    padding: 12px 36px 12px 16px;
    background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-size: 13.5px;
    font-family: inherit;
    color: #1e293b;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    transition: 0.2s ease;
}

.custom-select-wrap select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Platform Tabs */
.platform-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.tab-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.tab-pill:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.tab-pill.active {
    background: #0b1f45;
    color: #fff;
    border-color: #0b1f45;
    box-shadow: 0 4px 12px rgba(11, 31, 69, 0.2);
}

.tab-pill i {
    font-size: 15px;
}

/* =========================================================
   ACCOUNT CARDS GRID
   ========================================================= */
.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 26px;
}

.account-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.account-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.card-top-bar {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.platform-badge.tiktok {
    background: rgba(0, 242, 234, 0.1);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.2);
}

.platform-badge.twitter {
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.2);
}

.platform-badge.instagram {
    background: rgba(225, 48, 108, 0.1);
    color: #be185d;
    border: 1px solid rgba(190, 24, 93, 0.2);
}

.platform-badge.youtube {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(185, 28, 28, 0.2);
}

.platform-badge.facebook {
    background: rgba(24, 119, 242, 0.1);
    color: #1d4ed8;
    border: 1px solid rgba(29, 78, 216, 0.2);
}

.platform-badge.game {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border: 1px solid rgba(4, 120, 87, 0.2);
}

.status-badge {
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-badge.available {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.status-badge.sold {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.card-main {
    padding: 22px 20px;
    flex: 1;
}

.account-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.account-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0b1f45, #1e3a8a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #67e8f9;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(11, 31, 69, 0.15);
}

.account-titles {
    min-width: 0;
    flex: 1;
}

.account-handle-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
    min-width: 0;
}

.account-handle {
    font: 700 16px "Plus Jakarta Sans", sans-serif;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    min-width: 0;
}

.link-profile-preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 11px;
    text-decoration: none;
    transition: 0.2s ease;
    flex-shrink: 0;
}

.link-profile-preview:hover {
    background: #e2e8f0;
    color: #e1306c;
}

.verified-icon {
    color: #2563eb;
    font-size: 14px;
}

.account-niche {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
}

/* Metrics Grid */
.metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: #f8fafc;
    border-radius: 14px;
    padding: 12px 10px;
    margin-bottom: 18px;
    border: 1px solid #edf2f7;
    text-align: center;
}

.metric-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.metric-label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.metric-val {
    font: 700 14px "Plus Jakarta Sans", sans-serif;
    color: #0f172a;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.feature-tag {
    font-size: 11px;
    font-weight: 500;
    color: #334155;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

/* Card Bottom & CTA */
.card-bottom {
    padding: 18px 20px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.price-wrap {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.price-amount {
    font: 800 19px "Plus Jakarta Sans", sans-serif;
    color: #0f172a;
}

.card-actions {
    display: flex;
    gap: 8px;
}

.btn-detail {
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 600;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-detail:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-buy-wa {
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    text-decoration: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    transition: 0.2s ease;
}

.btn-buy-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
    color: #fff;
}

.btn-similar-wa {
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: #ffffff;
    text-decoration: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
    transition: 0.2s ease;
    white-space: nowrap;
}

.btn-similar-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
    color: #fff;
}

/* Sold Card Treatment & Social Proof */
.account-card.is-sold {
    background: #fafbfc;
    border-color: #e2e8f0;
}

.account-card.is-sold:hover {
    border-color: #cbd5e1;
}

.account-card.is-sold .account-avatar {
    opacity: 0.85;
}

.account-avatar.instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: #ffffff;
}

.account-card.is-sold .account-avatar.instagram {
    background: linear-gradient(135deg, #64748b, #475569);
    color: #cbd5e1;
}

.account-avatar.tiktok {
    background: linear-gradient(135deg, #010101 0%, #1e1e24 50%, #fe2c55 100%);
    color: #00f2fe;
    box-shadow: 0 6px 14px rgba(254, 44, 85, 0.2);
}

.account-card.is-sold .account-avatar.tiktok {
    background: linear-gradient(135deg, #475569, #334155);
    color: #94a3b8;
    box-shadow: none;
}

.account-avatar.twitter {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #000000 100%);
    color: #38bdf8;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.25);
}

.account-card.is-sold .account-avatar.twitter {
    background: linear-gradient(135deg, #475569, #334155);
    color: #94a3b8;
    box-shadow: none;
}

.price-sold {
    color: #64748b !important;
    text-decoration: line-through;
    font-size: 17px !important;
}

/* Empty State */
.empty-catalog {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 20px;
    border: 1px dashed #cbd5e1;
}

.empty-catalog i {
    font-size: 48px;
    color: #94a3b8;
    margin-bottom: 12px;
    display: inline-block;
}

.empty-catalog h3 {
    font-size: 18px;
    color: #1e293b;
    margin-bottom: 6px;
}

.empty-catalog p {
    color: #64748b;
    font-size: 14px;
}

/* =========================================================
   MODAL DETAIL AKUN (beli-akun.php)
   ========================================================= */
.account-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.account-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.account-modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    border-radius: 24px;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid #e2e8f0;
    transform: scale(0.95);
    transition: transform 0.25s ease;
}

.account-modal-overlay.active .account-modal-box {
    transform: scale(1);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}

.modal-header h3 {
    font: 700 18px "Plus Jakarta Sans", sans-serif;
    margin: 0;
    color: #0f172a;
}

.modal-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.modal-body {
    padding: 24px;
}

.modal-profile-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.btn-modal-profile-link {
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #334155;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: 0.2s ease;
}

.btn-modal-profile-link:hover {
    background: #e1306c;
    color: #ffffff;
    border-color: #e1306c;
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
}

.detail-table tr {
    border-bottom: 1px solid #f1f5f9;
}

.detail-table th,
.detail-table td {
    padding: 10px 12px;
    font-size: 13.5px;
    text-align: left;
}

.detail-table th {
    color: #64748b;
    font-weight: 500;
    width: 40%;
}

.detail-table td {
    color: #0f172a;
    font-weight: 600;
}

.modal-guarantee-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    padding: 14px 16px;
    margin-top: 20px;
    font-size: 13px;
    color: #1e40af;
    line-height: 1.6;
}

.modal-footer {
    padding: 18px 24px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    position: sticky;
    bottom: 0;
}

/* =========================================================
   SELLER FORM & ESTIMATOR (jual-akun.php)
   ========================================================= */
.seller-section {
    padding: 70px 0 90px;
    background: #f8fafc;
}

.seller-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 36px;
    align-items: start;
}

@media (max-width: 980px) {
    .seller-grid {
        grid-template-columns: 1fr;
    }
}

.seller-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
}

.form-header {
    margin-bottom: 28px;
}

.form-header h2 {
    font: 800 24px "Plus Jakarta Sans", sans-serif;
    color: #0f172a;
    margin: 0 0 8px;
}

.form-header p {
    color: #64748b;
    font-size: 14.5px;
    margin: 0;
}

.account-entry-card {
    background: #f8fafc;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
    position: relative;
    transition: border-color 0.2s ease;
}

.account-entry-card:hover {
    border-color: #cbd5e1;
}

.entry-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.entry-title {
    font: 700 15px "Plus Jakarta Sans", sans-serif;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.entry-badge {
    background: #0b1f45;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
}

.btn-remove-account {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: 0.2s ease;
}

.btn-remove-account:hover {
    background: #fee2e2;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.form-group label span.req {
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    color: #0f172a;
    transition: 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-hint {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 2px;
}

.btn-add-account {
    width: 100%;
    padding: 14px;
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    color: #2563eb;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.2s ease;
    margin-bottom: 28px;
}

.btn-add-account:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.seller-contact-section {
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    margin-bottom: 28px;
}

.seller-contact-section h3 {
    font: 700 17px "Plus Jakarta Sans", sans-serif;
    color: #0f172a;
    margin: 0 0 16px;
}

.btn-submit-sell {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border: none;
    border-radius: 14px;
    font: 700 15px "Plus Jakarta Sans", sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
    transition: 0.25s ease;
}

.btn-submit-sell:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
}

/* =========================================================
   PRICE ESTIMATOR WIDGET (Sidebar jual-akun.php)
   ========================================================= */
.estimator-sidebar {
    position: sticky;
    top: 95px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.estimator-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
}

.estimator-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.estimator-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #ecfeff;
    color: #0891b2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.estimator-header h3 {
    font: 700 17px "Plus Jakarta Sans", sans-serif;
    margin: 0;
    color: #0f172a;
}

.estimator-result-box {
    margin-top: 20px;
    padding: 18px;
    background: linear-gradient(135deg, #0b1f45, #150d30);
    border-radius: 16px;
    color: #fff;
    text-align: center;
}

.estimator-result-label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.estimator-result-price {
    font: 800 22px "Plus Jakarta Sans", sans-serif;
    color: #67e8f9;
    margin-bottom: 6px;
}

.estimator-result-tip {
    font-size: 11.5px;
    color: #cbd5e1;
    line-height: 1.5;
}

/* Seller Benefits Card */
.benefits-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.benefits-card h4 {
    font: 700 16px "Plus Jakarta Sans", sans-serif;
    color: #0f172a;
    margin: 0 0 16px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.benefit-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-text h5 {
    font: 600 13.5px "Plus Jakarta Sans", sans-serif;
    color: #1e293b;
    margin: 0 0 2px;
}

.benefit-text p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* =========================================================
   FAQ ACCORDION COMPONENT
   ========================================================= */
.faq-section {
    padding: 80px 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.faq-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 45px;
}

.faq-header h2 {
    font: 800 clamp(24px, 4vw, 36px) "Plus Jakarta Sans", sans-serif;
    color: #0f172a;
    margin: 0 0 10px;
}

.faq-header p {
    color: #64748b;
    font-size: 15px;
    margin: 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-trigger {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font: 700 15.5px "Plus Jakarta Sans", sans-serif;
    color: #0f172a;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-trigger:hover {
    color: #2563eb;
}

.faq-icon {
    font-size: 14px;
    color: #64748b;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: #2563eb;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.25s ease;
    padding: 0 24px;
    color: #475569;
    font-size: 14px;
    line-height: 1.75;
}

.faq-item.open .faq-content {
    max-height: 500px;
    padding: 0 24px 22px;
}

/* Steps Section */
.steps-section {
    padding: 70px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 35px;
}

.step-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 26px 22px;
    border: 1px solid #e2e8f0;
    position: relative;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
}

.step-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #0b1f45;
    color: #67e8f9;
    font: 800 15px "Plus Jakarta Sans", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-card h3 {
    font: 700 16px "Plus Jakarta Sans", sans-serif;
    color: #0f172a;
    margin: 0 0 8px;
}

.step-card p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* =========================================================
   RESPONSIVE & MOBILE OVERFLOW FIXES (beli-akun & jual-akun)
   ========================================================= */

/* Prevent any horizontal overflow on section containers */
.catalog-section,
.seller-section,
.steps-section,
.faq-section {
    overflow-x: hidden;
    max-width: 100%;
}

/* --- Tablet Breakpoint (max-width: 980px) --- */
@media (max-width: 980px) {
    .estimator-sidebar {
        position: static;
        top: auto;
        margin-top: 10px;
    }
}

/* --- Mobile Breakpoint (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Page Hero */
    .page-hero {
        padding: 110px 0 45px;
    }

    .page-hero .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
        margin-bottom: 14px;
    }

    .page-hero h1 {
        font-size: clamp(24px, 6.2vw, 34px);
        letter-spacing: -0.6px;
        margin-bottom: 12px;
    }

    .page-hero .hero-sub {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 20px;
    }

    .hero-highlights {
        gap: 8px;
        margin-top: 16px;
    }

    .hero-pill {
        font-size: 12px;
        padding: 5px 12px;
    }

    /* Catalog Toolbar (beli-akun.php) */
    .catalog-section {
        padding: 35px 0 60px;
    }

    .catalog-toolbar {
        padding: 16px 14px;
        border-radius: 16px;
        margin-bottom: 24px;
    }

    .status-tabs-container {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding-bottom: 14px;
        margin-bottom: 14px;
    }

    .status-tabs-left {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
    }

    .status-tabs {
        display: flex;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 4px;
        border-radius: 12px;
    }

    .status-tabs::-webkit-scrollbar {
        display: none;
    }

    .status-tab-btn {
        flex: 1 0 auto;
        justify-content: center;
        padding: 8px 10px;
        font-size: 12px;
        white-space: nowrap;
    }

    .status-tabs-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .sync-indicator-text {
        font-size: 11.5px;
        line-height: 1.4;
    }

    .btn-sync-refresh {
        font-size: 11.5px;
        padding: 6px 12px;
    }

    /* Filter search row */
    .filter-search-row {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 14px;
    }

    .search-box {
        min-width: 0;
        width: 100%;
    }

    .search-box input {
        padding: 11px 16px 11px 40px;
        font-size: 14px;
    }

    .filter-selects {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }

    .custom-select-wrap {
        width: 100%;
    }

    .custom-select-wrap select {
        width: 100%;
        padding: 11px 30px 11px 12px;
        font-size: 13px;
    }

    /* Platform chips: Horizontal scroll */
    .platform-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-top: 12px;
        padding-bottom: 4px;
        gap: 8px;
    }

    .platform-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-pill {
        flex-shrink: 0;
        padding: 7px 14px;
        font-size: 12.5px;
        white-space: nowrap;
    }

    /* Account Grid (beli-akun.php) */
    .accounts-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* Seller Form (jual-akun.php) */
    .seller-section {
        padding: 35px 0 60px;
    }

    .seller-form-card {
        padding: 20px 14px;
        border-radius: 18px;
    }

    .form-header {
        margin-bottom: 18px;
    }

    .form-header h2 {
        font-size: 20px;
    }

    .form-header p {
        font-size: 13.5px;
    }

    .account-entry-card {
        padding: 16px 12px;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 14px;
    }

    .form-control {
        font-size: 15px;
        padding: 11px 12px;
    }

    .btn-add-account {
        padding: 12px;
        font-size: 13px;
        margin-bottom: 20px;
    }

    .seller-contact-section {
        padding-top: 18px;
        margin-bottom: 20px;
    }

    .seller-contact-section h3 {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .btn-submit-sell {
        padding: 14px;
        font-size: 14px;
        white-space: normal;
        text-align: center;
        line-height: 1.4;
    }

    .modal-guarantee-box {
        padding: 12px 14px;
        font-size: 12.5px;
    }

    /* Estimator & Benefits */
    .estimator-card,
    .benefits-card {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .estimator-result-box {
        padding: 14px;
        border-radius: 14px;
    }

    .estimator-result-price {
        font-size: 20px;
    }

    /* Steps Section */
    .steps-section {
        padding: 45px 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 24px;
    }

    .step-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    /* FAQ Section */
    .faq-section {
        padding: 45px 0;
    }

    .faq-header {
        margin-bottom: 25px;
    }

    .faq-header h2 {
        font-size: 22px;
    }

    .faq-header p {
        font-size: 13.5px;
    }

    .faq-trigger {
        padding: 16px 18px;
        font-size: 14.5px;
        gap: 12px;
    }

    .faq-content {
        padding: 0 18px;
        font-size: 13.5px;
    }

    .faq-item.open .faq-content {
        padding: 0 18px 16px;
    }
}

/* --- Small Mobile Breakpoint (max-width: 480px) --- */
@media (max-width: 480px) {
    .filter-selects {
        grid-template-columns: 1fr;
    }

    .account-card {
        border-radius: 16px;
    }

    .card-top-bar {
        padding: 12px 14px;
    }

    .card-main {
        padding: 14px;
    }

    .account-avatar {
        width: 44px;
        height: 44px;
        font-size: 20px;
        border-radius: 12px;
    }

    .metrics-row {
        padding: 10px 6px;
        gap: 4px;
        margin-bottom: 12px;
    }

    .metric-label {
        font-size: 10px;
    }

    .metric-val {
        font-size: 13px;
    }

    .card-bottom {
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .card-bottom .price-wrap {
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
    }

    .card-actions {
        display: grid;
        grid-template-columns: 1fr 1.3fr;
        gap: 8px;
        width: 100%;
    }

    .btn-detail,
    .btn-buy-wa,
    .btn-similar-wa {
        justify-content: center;
        padding: 9px 8px;
        font-size: 12px;
        text-align: center;
    }

    /* Modal Mobile Optimization */
    .account-modal-overlay {
        padding: 10px;
    }

    .account-modal-box {
        max-height: 90vh;
        border-radius: 18px;
    }

    .modal-header {
        padding: 14px 16px;
    }

    .modal-body {
        padding: 14px;
    }

    .detail-table th,
    .detail-table td {
        padding: 8px 6px;
        font-size: 12.5px;
    }

    .modal-footer {
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .modal-footer .price-wrap {
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
    }

    .modal-footer .btn-buy-wa,
    .modal-footer .btn-similar-wa {
        width: 100%;
        justify-content: center;
    }
}

