/* ======================= RESET DASAR ======================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #ffffff; /* halaman utama putih */
    color: #03172c;
    padding-top: 80px;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.2px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.detail-page {
    background: #F5F5F7;
}

.property-detail {
    background: #fff;
    min-height: 100vh;
    padding: 30px 22px;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(15,23,42,0.08);
}


/* ======================= TOPBAR / HEADER ======================= */

.topbar {
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(20, 39, 66, 0.25);
    color: #fff;
    padding: 12px 32px 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.topbar .brand a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 1px;
}

.topbar .brand span {
    color: #FFC107;
}

.topbar nav a {
    color: #fff;
    margin-left: 15px;
    font-size: 14px;
    opacity: .85;
    text-decoration: none;
    transition: 0.3s;
}

.topbar nav a:hover {
    color: #FFC107;
}

.topbar nav a.btn-login,
.topbar nav a.btn-logout {
    background: #FFC107;
    color: #111;
    border-radius: 999px;
    padding: 7px 18px;
    font-weight: 600;
}

.topbar nav a.btn-login:hover,
.topbar nav a.btn-logout:hover {
    background: #e0a800;
}

/* ======================= LOGIN PAGE ======================= */

.login-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background:
        linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
        url('assets/img/rumah1.jpg') no-repeat center center/cover;
    padding: 40px;
}

.login-box {
    background: rgba(0, 0, 0, 0.75);
    padding: 35px;
    width: 100%;
    max-width: 420px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.login-box h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #FFC107;
    font-size: 26px;
    font-weight: 700;
}

.login-box label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
}

.login-box input,
.login-box select {
    width: 100%;
    padding: 12px;
    margin-bottom: 16px;
    border: none;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    background: #fff;
}

.login-box button {
    width: 100%;
    background: #FFC107;
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}

.login-box button:hover {
    background: #e0a800;
}

.login-box p {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.login-box a {
    color: #FFC107;
    text-decoration: none;
    font-weight: 600;
}

.login-box a:hover {
    text-decoration: underline;
}

/* ======================= ALERT / NOTIF ======================= */

.alert {
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-error {
    background: #ffe7e7;
    color: #a70000;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 12px;
    border: 1px solid #ffb3b3;
}

.alert-success {
    background: rgba(0, 200, 0, 0.08);
    border-left: 4px solid #2ecc71;
    color: #2ecc71;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* ======================= HERO BARU (PUTIH + GRADIENT) ======================= */

/* wrapper utama konten halaman beranda */
.page-wrap {
    max-width: 1080px;
    margin: 32px auto 80px;
    padding: 0 24px;
}

/* kartu hero: kiri teks, kanan ilustrasi */
.hero-card {
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.6fr;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    background: #ffffff;
}

/* sisi kiri: gradient biru → kuning + teks, teks kiri atas */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    /* top, right, bottom, left */
    padding: 80px 300px 140px 25px;

    height: 100%; 
    background: linear-gradient(120deg, #021331 0%, #153e7b 40%, #f4b900 100%);
    color: #f9fafb;
}

.hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

/* sisi kanan: sementara pattern, nanti bisa diganti img ilustrasi */
.hero-right {
    background:
        linear-gradient(
            rgba(0,0,0,0.15),
            rgba(0,0,0,0.15)
        ),
        url("img/hero-house.jpg");

    background-size: cover;
    background-position: center;
}

/* wrapper search + filter di bawah hero */
.search-filter-wrap {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* form global (search + status + filter) */
.search-filter-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* BARIS ATAS: search + tombol cari */
.search-bar-card {
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    background: #ffffff;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    padding: 6px 10px 6px 14px;
    border-radius: 999px;
    background: #f9fafb;
}

.search-icon {
    font-size: 1.1rem;
    color: #6b7280;
}

.search-input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 0.95rem;
    color: #111827;
}

.search-input::placeholder {
    color: #9ca3af;
}

.btn-search {
    border-radius: 999px;
    border: none;
    padding: 10px 26px;
    background: #f4b900;
    font-weight: 600;
    font-size: 0.95rem;
    color: #111827;
    cursor: pointer;
    text-transform: lowercase;
    white-space: nowrap;
}

/* TOGGLE status: dijual / disewakan / properti baru */
.status-toggle {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;   /* ini yang bikin ke tengah */
    align-items: center;       /* biar sejajar rapi */
    text-align: center;
}

.status-pill {
    border-radius: 999px;
    padding: 10px 22px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    font-size: 0.95rem;
    cursor: pointer;
    text-transform: capitalize;
    color: #111827;
}

.status-pill.active {
    background: #050816;
    border-color: #050816;
    color: #ffffff;
    font-weight: 600;
}


/* FILTER: Tema, Harga min, Harga max, Sorting */
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 4px;
}

.filter-field {
    flex: 1;
    min-width: 180px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    font-size: 0.95rem;
    color: #111827;
}

/* field yang isinya input (harga min/max) */
.filter-field-input {
    justify-content: flex-start;
}

.filter-field-input input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    background: transparent;
    color: #111827;
}

.filter-select {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: #111827;
    width: 100%;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

.filter-chevron {
    font-size: 0.9rem;
    color: #6b7280;
    margin-left: 8px;
}

/* ======================= RESPONSIVE HERO / SEARCH ======================= */

@media (max-width: 900px) {
    .hero-card {
        grid-template-columns: 1fr;
    }

    .hero-right {
        display: none; /* di HP fokus ke teks saja */
    }
}

@media (max-width: 640px) {
    .page-wrap {
        margin-top: 24px;
        padding-inline: 16px;
    }

    .hero-left {
        padding: 50px 32px 36px;
    }

    .hero-title {
        font-size: 1rem;
    }

    .search-bar-card {
        flex-direction: column;
        align-items: stretch;
        border-radius: 20px;
    }

    .btn-search {
        width: 100%;
        text-align: center;
    }
}

/* ======================= LAYOUT & CARD LIST ======================= */

.container {
    padding: 20px;
    padding-bottom: 100px; /* ruang buat footer */
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    padding: 20px;
}

.card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(226,232,240,0.9);
    box-shadow: 0 10px 30px rgba(15,23,42,0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .2s ease-out;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(15,23,42,0.14);
}

.card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: #ddd;
}

.card-body {
    padding: 14px 16px 16px;
    flex: 1;
}

.card-title {
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 6px;
}

.badge {
    display: inline-block;
    background: rgba(250,204,21,0.16);
    padding: 4px 10px;
    border-radius:  999px;
    font-size: 12px;
    color: #000;
    font-weight: 600;
    margin-bottom: 8px;
}

/* list properti di beranda */

.property-list-section {
    background: #f4f4f4;
    padding: 30px 0 60px;
}

.property-list-section .container {
    padding-top: 0;
}

.section-title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px 0;
}

.btn-view {
    display: inline-block;
    background: #FFC107;
    color: #000;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.btn-view:hover {
    background: #e0a800;
}

/* ======================= CHAT / HUBUNGI PENJUAL ======================= */

.chat-container {
    max-width: 1000px;
    margin: 40px auto;
}

.chat-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 6px;
}

.chat-sub {
    color: #666;
    margin-bottom: 24px;
}

.chat-grid {
    display: grid;
    grid-template-columns: 2fr 1.3fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .chat-grid {
        grid-template-columns: 1fr;
    }

    .location-layout {
        grid-template-columns: 1fr;
    }

    .kpr-grid {
        grid-template-columns: 1fr;
    }
}

.chat-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow:  0 12px 32px rgba(15,23,42,0.08);
    border: 1px solid rgba(226,232,240,0.9);
}

.chat-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
}

.seller-info {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.seller-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffda3a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.seller-name {
    font-weight: 600;
    font-size: 15px;
}

.seller-role {
    font-size: 12px;
    color: #777;
}

.chat-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

/* Tombol umum */

.btn-wa {
    background: #25D366;
    color: #fff;
    padding: 9px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-phone,
.btn-email {
    background: #ffb800;
    color: #000;
    padding: 9px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* quick messages */

.quick-msg {
    width: 100%;
    text-align: left;
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
    border-radius: 12px;
    padding: 8px 10px;
    font-size: 13px;
    margin-bottom: 6px;
    cursor: pointer;
}

.quick-msg:hover {
    background: #f0f0f0;
    background: #EFF6FF;
    border-color: #BFDBFE;
}

.chat-note {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
}

.summary-label {
    font-size: 12px;
    color: #777;
    margin-bottom: 3px;
}

.summary-chip {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    background: #f1f1f1;
    font-size: 11px;
}

.summary-price {
    font-size: 18px;
    font-weight: 700;
    margin: 6px 0 10px;
}

.btn-back {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
}

/* ======================= CONTACT_SELLER (VERSI FORM) ======================= */

.contact-container {
    max-width: 1000px;
    margin: 40px auto;
}

.contact-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card {
    background: #fff;
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

@media (max-width: 900px) {
    .contact-card {
        grid-template-columns: 1fr;
    }
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
}

.quick-message {
    background: #f7f7f7;
    padding: 9px 14px;
    border-radius: 10px;
    margin-bottom: 6px;
    cursor: pointer;
    font-size: 13px;
}

/* ======================= ORDER / PEMESANAN ======================= */

.order-page {
    max-width: 1100px;
    margin: 40px auto;
}

.order-header-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 8px;
}

.order-subtitle {
    color: #666;
    margin-bottom: 24px;
}

.order-steps {
    display: flex;
    gap: 10px;
    margin-bottom: 26px;
    font-size: 13px;
}

.order-step {
    flex: 1;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid #E5E7EB;
    display: flex;
    background: #F9FAFB;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    background:  #F9FAFB;
    color: #6B7280;
}

.order-step.active {
    background: linear-gradient(135deg, #FFC107, #FFCF40);
    border-color: transparent;
    color: #111827;
    box-shadow: 0 10px 24px rgba(250,204,21,0.35);
    font-weight: 600;
}

.order-step-number {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.order-layout {
    display: grid;
    grid-template-columns: 2fr 1.3fr;
    gap: 24px;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .order-layout {
        grid-template-columns: 1fr;
    }
}

.order-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    border: 1px solid #eee;
}

.order-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.order-form .form-group {
    margin-bottom: 14px;
}

.order-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}

.order-form input,
.order-form select,
.order-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 9px 11px;
    font-size: 14px;
    outline: none;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
    border-color: #ffb800;
    box-shadow: 0 0 0 2px rgba(255,184,0,0.2);
}

.order-form textarea {
    resize: vertical;
    min-height: 80px;
}

.order-actions {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* tombol global */

.btn-primary {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    justify-content: center;
    padding: 9px 18px;
    border: none;
    background: linear-gradient(135deg, #FFC107, #FFCF40);
    color: #111827;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(250,204,21,0.45);
    transition: all .18s ease-out;
    text-decoration: none;
    text-align: center;
}

.btn-primary:hover {
    background: #ffcf40;
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(250,204,21,0.6);
}

.btn-secondary {
    display: inline-block;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    border:  1px solid #E5E7EB;
    background: #fff;
    color: #111827;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all .18s ease-out;
}

.btn-secondary:hover {
    background: #F9FAFB;
    transform: translateY(-1px);
}

.order-summary-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.order-summary-property {
    margin-bottom: 16px;
}

.order-highlight {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}

.card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    background: #ddd;
}

.btn-primary,
.btn-secondary,
.btn-whatsapp,
.btn-order,
.status-pill,
a.btn-primary,
a.btn-secondary,
a.btn-whatsapp,
a.btn-order {
    text-decoration: none !important;
}

a {
    text-decoration: none !important;
}


    .admin-dashboard-wrapper {
        max-width: 1120px;
        margin: 32px auto 60px;
        padding: 0 24px;
        font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    }

    .admin-dash-header {
        margin-bottom: 22px;
    }

    .admin-dash-title {
        font-size: 24px;
        font-weight: 700;
        margin: 0 0 6px 0;
    }

    .admin-dash-subtitle {
        font-size: 14px;
        color: #6b7280;
    }

    .admin-stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 14px;
        margin-bottom: 26px;
    }

    .admin-stat-card {
        background: #ffffff;
        border-radius: 18px;
        padding: 16px 18px;
        box-shadow: 0 12px 32px rgba(15,23,42,0.08);
        border: 1px solid rgba(226,232,240,0.9);
    }

    .admin-stat-label {
        font-size: 13px;
        color: #6b7280;
        margin-bottom: 4px;
    }

    .admin-stat-value {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .admin-stat-note {
        font-size: 12px;
        color: #9ca3af;
    }

    .admin-sections {
        display: grid;
        grid-template-columns: 1.5fr 1.2fr;
        gap: 18px;
    }

    @media (max-width: 900px) {
        .admin-sections {
            grid-template-columns: 1fr;
        }
    }

    .admin-card {
        background: #ffffff;
        border-radius: 18px;
        padding: 18px 20px;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
        border: 1px solid rgba(226,232,240,0.9);
    }

    .admin-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }

    .admin-card-title {
        font-size: 16px;
        font-weight: 600;
    }

    .admin-card-subtitle {
        font-size: 13px;
        color: #6b7280;
    }

    .admin-card-header a {
        font-size: 12px;
        text-decoration: none;
        color: #2563eb;
    }

    .admin-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 13px;
    }

    .admin-table th,
    .admin-table td {
        padding: 8px 6px;
        border-bottom: 1px solid #e5e7eb;
    }

    .admin-table th {
        text-align: left;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: #6b7280;
    }

    .admin-pill {
        display: inline-block;
        padding: 3px 8px;
        border-radius: 999px;
        font-size: 11px;
        background: #f3f4f6;
        color: #374151;
    }

    .admin-pill.sale {
        background: rgba(34,197,94,0.12);
        color: #166534;
    }

    .admin-pill.rent {
        background: rgba(59,130,246,0.12);
        color: #1d4ed8;
    }

    .admin-empty {
        font-size: 13px;
        color: #9ca3af;
        padding: 8px 2px;
    }

    .admin-actions-row {
        margin-top: 24px;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .admin-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 9px 16px;
        border-radius: 999px;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        border: 1px solid #e5e7eb;
        background: #ffffff;
        color: #111827;
        gap: 6px;
        cursor: pointer;
        transition: all .16s ease-out;
    }

    .admin-btn.primary {
        border: none;
        background: linear-gradient(135deg, #FFC107, #FFCF40);
        box-shadow: 0 10px 24px rgba(250,204,21,0.45);
    }

    .admin-btn.primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 16px 36px rgba(250,204,21,0.65);
    }

    .admin-btn:hover {
        background: #f9fafb;
        transform: translateY(-1px);
    }

/* ====== FOOTER FINAL (PAKSA BALIK KE STYLE AWAL) ====== */
footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 16px 0;
    width: 100%;
    margin-top: auto;
}

/* ===== FOOTER FINAL FULL WIDTH ===== */
html, body { height: 100%; 
}

body { display:flex; flex-direction:column; min-height:100vh; 
}

.site-footer{
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: #111;
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 16px 12px;
  text-align:center;
  margin-top: auto;
}

body{
  overflow-x: hidden;
}

body.detail-page .container{
  padding-bottom: 0 !important;
}

/* ===================== DETAIL PAGE OVERRIDE (TEMPel LANGSUNG) ===================== */

/* wrapper detail */
.detail-page-wrapper{
  max-width: 1120px;
  margin: 32px auto 0;
  padding: 0 16px;
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* HERO */
.detail-page-wrapper .property-hero{
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
  background: #111;
}

.detail-page-wrapper .property-hero-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(92%);
}

.detail-page-wrapper .property-hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35), rgba(0,0,0,0) 55%);
  pointer-events: none;
  z-index: 1;
}

/* badge harga */
.detail-page-wrapper .property-hero-price{
  position: absolute;
  left: 18px;   /* pindah kanan? ganti jadi right:18px; left:auto; */
  bottom: 18px;
  z-index: 5;

  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.16);
  max-width: 240px;
}

.detail-page-wrapper .property-hero-price .price{
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .2px;
  color: #fff; /* ubah warna harga di sini */
}

.detail-page-wrapper .property-hero-price .status-pill{
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
}

/* ===================== LAYOUT 2 KOLOM: KIRI + SIDEBAR KANAN ===================== */
.detail-page-wrapper .detail-layout{
  display: grid !important;
  grid-template-columns: 1fr 360px !important; /* kiri fleksibel, kanan fixed */
  gap: 18px !important;
  align-items: start !important;
}

/* PENTING: pastikan yang sticky itu ASIDE.sidebar, bukan div terakhir */
.detail-page-wrapper .detail-sidebar{
  position: sticky !important;
  top: 90px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  align-self: start;
}

/* CARD */
.detail-page-wrapper .card,
.detail-page-wrapper .sidebar-card{
  background: #fff;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 10px 26px rgba(15,23,42,0.07);
  border: 1px solid rgba(226,232,240,0.9);
  margin-bottom: 18px;
}

.detail-page-wrapper .card-title{
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}
.detail-page-wrapper .card-subtitle{
  font-size: 13px;
  color: #6b7280;
}

.detail-page-wrapper .highlight-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-page-wrapper .highlight-item{
  padding: 12px;
  border-radius: 14px;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  transition: all .18s ease;
}

.detail-page-wrapper .highlight-item h4{
  font-size: 13px;
  margin: 0 0 4px;
  font-weight: 700;
}
.detail-page-wrapper .highlight-item p{
  font-size: 12px;
  color: #6b7280;
  line-height: 1.45;
  margin: 0;
}

/* GALLERY */
.detail-page-wrapper .gallery-strip{
  display: flex;
  gap: 8px;
  margin-top: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.detail-page-wrapper .gallery-thumb{
  width: 84px;
  height: 62px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
  transition: all .15s ease;
}
.detail-page-wrapper .gallery-thumb:hover{
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

/* SIDEBAR TEXT */
.detail-page-wrapper .sidebar-title{
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #111827;
}
.detail-page-wrapper .kpr-main-price{
  font-size: 18px;
  font-weight: 800;
  margin: 6px 0;
}
.detail-page-wrapper .kpr-note{
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 10px;
}
.detail-page-wrapper .sidebar-row{
  display:flex;
  justify-content:space-between;
  font-size: 13px;
  margin-bottom: 6px;
}
.detail-page-wrapper .sidebar-row span:first-child{
  color: #6b7280;
}

/* BUTTONS */
.detail-page-wrapper .btn-base{
  border-radius: 999px;
  padding: 10px 16px;
  border: none;
  font-size: 13px;
  cursor: pointer;
  transition: all .18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
}
.detail-page-wrapper .btn-primary{
  background: #FFC107;
  color: #111;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(250,204,21,0.35);
}
.detail-page-wrapper .btn-outline{
  background: transparent;
  color: #111;
  border: 1px solid #e5e7eb;
}
.detail-page-wrapper .btn-dark{
  background: #111827;
  color: #fff;
}

/* MAP EMBED */
.map-embed{
  width: 100%;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.map-embed iframe{
  width: 100%;
  height: 100%;
  border: 0;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .detail-page-wrapper .property-hero{ height: 280px; }
  .detail-page-wrapper .detail-layout{ grid-template-columns: 1fr !important; }
  .detail-page-wrapper .detail-sidebar{ position: static !important; }
  .detail-page-wrapper .highlight-grid{ grid-template-columns: 1fr; }
}

/* ===================== DETAIL PAGE (FIX 2 KOLOM) ===================== */

/* grid 2 kolom: kiri + kanan */
.detail-page-wrapper .detail-layout{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 18px !important;
  align-items: start !important;
}

/* pastikan sidebar beneran di kolom kanan */
.detail-page-wrapper .detail-sidebar{
  grid-column: 2 !important;
  position: sticky !important;
  top: 90px !important;
  align-self: start !important;

  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

/* kolom kiri */
.detail-page-wrapper .detail-layout > div:first-child{
  grid-column: 1 !important;
  min-width: 0;
}

/* MAP embed rapi */
.map-embed{
  width: 100%;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}
.map-embed iframe{
  width: 100%;
  height: 100%;
  border: 0;
}

/* RESPONSIVE: layar kecil jadi 1 kolom */
@media (max-width: 980px){
  .detail-page-wrapper .detail-layout{
    grid-template-columns: 1fr !important;
  }
  .detail-page-wrapper .detail-sidebar{
    grid-column: 1 !important;
    position: static !important;
  }
}

/* ===== MY PROPERTIES - MODERN GRID ===== */
.myprop-wrap{
  max-width: 1120px;
  margin: 32px auto 70px;
  padding: 0 24px;
}

.myprop-header{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom: 18px;
}

.myprop-header h2{
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color:#111827;
}

.myprop-sub{
  margin: 0;
  font-size: 13px;
  color:#6b7280;
}

/* grid */
.property-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 1100px){
  .property-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px){
  .property-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .property-grid{ grid-template-columns: 1fr; }
}

/* card */
.property-card{
  background:#fff;
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 10px 28px rgba(15,23,42,0.07);
  transition: transform .18s ease, box-shadow .18s ease;
}

.property-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(15,23,42,0.12);
}

/* image */
.property-thumb{
  position: relative;
  display:block;
  height: 190px;
  background:#e5e7eb;
}

.property-thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

/* badge on image */
.property-badge{
  position:absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.06);
  color:#111827;
}

/* body */
.property-body{
  padding: 14px 14px 16px;
}

.property-top{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  align-items:flex-start;
  margin-bottom: 8px;
}

.property-title{
  font-weight: 800;
  font-size: 15px;
  color:#111827;
  line-height: 1.25;
}

.property-price{
  font-weight: 900;
  font-size: 14px;
  color:#111827;
  white-space: nowrap;
}

.property-meta{
  font-size: 13px;
  color:#6b7280;
  margin-bottom: 12px;
}

/* buttons */
.property-actions{
  display:flex;
  gap: 10px;
}

.btn-modern{
  flex: 1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration:none;
  border: 1px solid #e5e7eb;
  transition: transform .16s ease, background .16s ease;
}

.btn-modern.primary{
  background: linear-gradient(135deg, #FFC107, #FFCF40);
  border: none;
  color:#111827;
  box-shadow: 0 10px 24px rgba(250,204,21,0.35);
}

.btn-modern.ghost{
  background:#fff;
  color:#111827;
}

.btn-modern:hover{
  transform: translateY(-1px);
  background:#f9fafb;
}

.btn-modern.primary:hover{
  background:#ffcf40;
}

/* ===== Modern UI: My Properties + Grid Cards (override) ===== */

.myprop-wrap{
  max-width: 1120px;
  margin: 28px auto 60px;
  padding: 0 18px;
}

.myprop-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 16px;
}

.myprop-title{
  margin:0;
  font-size: 22px;
  font-weight: 800;
  color:#111827;
}

.myprop-sub{
  margin:6px 0 0;
  font-size: 13px;
  color:#6b7280;
}

.myprop-add{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FFC107, #FFCF40);
  color:#111827;
  font-weight:700;
  font-size: 13px;
  text-decoration:none;
  box-shadow: 0 10px 24px rgba(250,204,21,0.35);
}
.myprop-add:hover{ transform: translateY(-1px); }

/* grid baru */
.property-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

/* card baru */
.property-card{
  background:#fff;
  border-radius: 18px;
  border: 1px solid rgba(226,232,240,0.9);
  box-shadow: 0 10px 26px rgba(15,23,42,0.07);
  overflow:hidden;
  transition: all .18s ease;
}
.property-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(15,23,42,0.14);
}

.property-cover{
  position:relative;
  display:block;
  height: 190px;
  overflow:hidden;
}
.property-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.02);
  transition: transform .25s ease;
}
.property-card:hover .property-cover img{ transform: scale(1.07); }

.property-badge{
  position:absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255,255,255,0.92);
  color:#111827;
  border: 1px solid rgba(226,232,240,0.9);
  backdrop-filter: blur(6px);
}

.property-body{
  padding: 14px 14px 16px;
}

.property-name{
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 800;
  color:#111827;
  line-height: 1.25;
}

.property-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.property-loc{
  font-size: 13px;
  color:#6b7280;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width: 60%;
}

.property-price{
  font-size: 13px;
  font-weight: 800;
  color:#111827;
  background: rgba(250,204,21,0.18);
  border: 1px solid rgba(250,204,21,0.35);
  padding: 6px 10px;
  border-radius: 999px;
  white-space:nowrap;
}

.property-actions{
  display:flex;
  gap: 10px;
}

.btn-soft, .btn-solid{
  flex:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration:none;
  transition: all .16s ease;
}

.btn-soft{
  background:#fff;
  border: 1px solid #e5e7eb;
  color:#111827;
}
.btn-soft:hover{ background:#f9fafb; transform: translateY(-1px); }

.btn-solid{
  background: #111827;
  color:#fff;
  border: 1px solid #111827;
}
.btn-solid:hover{ background:#0b1220; transform: translateY(-1px); }

/* responsive */
@media (max-width: 1200px){
  .property-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px){
  .property-grid{ grid-template-columns: repeat(2, 1fr); }
  .myprop-head{ align-items:flex-start; flex-direction:column; }
}
@media (max-width: 520px){
  .property-grid{ grid-template-columns: 1fr; }
}

/* ===== Modern UI: Properti Tersedia (scoped only) ===== */
.property-list-section{
  background: #f4f4f4;
  padding: 34px 0 70px;
}

.property-list-section .plist-head{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 6px;
  margin-bottom: 18px;
}

.property-list-section .plist-sub{
  font-size: 13px;
  color:#6b7280;
  text-align:center;
}

.property-list-section .plist-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.property-list-section .p-card{
  background:#fff;
  border-radius: 18px;
  border: 1px solid rgba(226,232,240,0.9);
  box-shadow: 0 10px 26px rgba(15,23,42,0.07);
  overflow:hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.property-list-section .p-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(15,23,42,0.14);
}

.property-list-section .p-cover{
  position:relative;
  display:block;
  height: 190px;
  overflow:hidden;
  background:#e5e7eb;
}

.property-list-section .p-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.02);
  transition: transform .25s ease;
}

.property-list-section .p-card:hover .p-cover img{
  transform: scale(1.08);
}

.property-list-section .p-badge{
  position:absolute;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255,255,255,0.92);
  color:#111827;
  border: 1px solid rgba(226,232,240,0.9);
  backdrop-filter: blur(6px);
}

.property-list-section .p-price{
  position:absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  color:#111827;
  background: rgba(250,204,21,0.22);
  border: 1px solid rgba(250,204,21,0.35);
  backdrop-filter: blur(6px);
}

.property-list-section .p-body{
  padding: 14px 14px 16px;
}

.property-list-section .p-title{
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 900;
  color:#111827;
  line-height: 1.25;
}

.property-list-section .p-loc{
  font-size: 13px;
  color:#6b7280;
  margin-bottom: 12px;
  overflow:hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-list-section .p-actions{
  display:flex;
  gap: 10px;
}

.property-list-section .p-form{
  margin:0;
  flex:1;
}

.property-list-section .p-btn{
  flex:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration:none;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .16s ease, background .16s ease;
}

.property-list-section .p-btn-primary{
  background:#FFC107;
  color:#111827;
}
.property-list-section .p-btn-primary:hover{
  background:#ffb400;
  transform: translateY(-1px);
}

.property-list-section .p-btn-ghost{
  background:#fff;
  color:#111827;
  border-color:#e5e7eb;
}
.property-list-section .p-btn-ghost:hover{
  background:#f9fafb;
  transform: translateY(-1px);
}

.property-list-section .p-empty{
  background:#fff;
  border: 1px solid rgba(226,232,240,0.9);
  border-radius: 16px;
  padding: 18px;
  color:#6b7280;
}

/* responsive */
@media (max-width: 1200px){
  .property-list-section .plist-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px){
  .property-list-section .plist-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .property-list-section .plist-grid{ grid-template-columns: 1fr; }
}

/* ===== BUTTON KEMBALI KE DETAIL PROPERTI ===== */
.back-to-detail,
a.back-to-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    padding: 9px 26px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;

    background: linear-gradient(135deg, #fcfcfc );
    color: #111827 !important;

    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;

    box-shadow: 0 10px 24px rgba(255, 255, 255, 0.45);
    transition: all 0.18s ease;
    margin-top: 22px;
    margin-bottom: 12px;
}

/* hover */
.back-to-detail:hover,
a.back-to-detail:hover {
    background: #e4dbdb;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(255, 255, 255, 0.65);
}

/* ===== FIX FOOTER NGAMBANG + HILANGIN WHITE GAP (TEMPEL PALING BAWAH) ===== */
html, body { height: 100%; }

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* kamu sudah pakai fixed header, jadi padding-top tetap boleh */
  padding-top: 80px;
}

/* KUNCI: hanya anak langsung body yang bisa jadi flex item */
body > main,
body > .container,
body > .page-wrap,
body > section,
body > .property-list-section{
  flex: 1 0 auto;
}

/* Footer pasti terdorong ke bawah */
footer,
.site-footer{
  margin-top: auto !important;
  flex-shrink: 0;
  width: 100% !important;

  /* rapihin: buang trik 100vw yang sering bikin aneh */
  margin-left: 0 !important;
}

/* Bonus: padding-bottom 100px di .container bikin jarak yang ga perlu di halaman pendek */
body > .container{
  padding-bottom: 0 !important;
}

/* === Sticky footer yang bener (setelah HTML main-nya bener) === */
html, body { height: 100%; }

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main{
  flex: 1 0 auto;
}

.site-footer{
  flex-shrink: 0;
  margin-top: auto;
}

.js-wishlist-btn.saved{
  background: #111827 !important;
  color: #fff !important;
  border-color: #111827 !important;
}

/* kalau tombol punya class saved */
button.saved,
.p-btn.saved,
.btn-secondary.saved,
.btn-modern.saved {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
    cursor: default;
}

/* fallback: kalau teksnya "Tersimpan" tapi belum ada class */
button:has(span):contains("Tersimpan"),
button:contains("Tersimpan") {
    background: #111 !important;
    color: #fff !important;
    border-color: #111 !important;
}

.spec-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  padding: 10px 0;
  border-top: 1px solid #eef2f7;
  margin-top: 12px;
  margin-bottom: 28px;
}

.spec-item{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size: 13px;
  font-weight: 700;
  color:#111827;
  padding: 6px 10px;
  border-radius: 999px;
  background:#f9fafb;
  border:1px solid #e5e7eb;
}

.location-card {
  margin-top: 20px;
}

/* JARAK ANTARA SPEC BAR DAN CARD LOKASI */
.detail-page-wrapper .spec-property{
  margin-bottom: 18px;
}

/* OPSIONAL: kalau masih nempel banget, paksa card setelah spec punya jarak */
.detail-page-wrapper .spec-property + .card{
  margin-top: 18px;
}

.detail-page-wrapper .spec-property{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-page-wrapper .spec-item{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
}

/* ===== HERO SLIDER ===== */
.hero-slider{
  display: flex;
  height: 100%;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.hero-slider::-webkit-scrollbar{
  display: none;
}

.hero-slider img{
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}

/* tombol kiri kanan */
.hero-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
}

.hero-nav.prev{ left: 12px; }
.hero-nav.next{ right: 12px; }

.hero-nav:hover{
  background: rgba(0,0,0,0.75);
}

/* ===============================
   DASHBOARD AKUN (BUYER / SELLER)
   =============================== */

.user-dashboard-wrapper {
  max-width: 1100px;
  margin: 28px auto 80px;
  padding: 0 18px;
}

.user-dashboard-wrapper h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 18px;
  color: #111827;
}

/* ===== ACCOUNT CARD ===== */

.acc-card {
  max-width: 1100px;
  margin: 24px auto 26px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.acc-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.acc-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1px;
}

.acc-meta {
  display: flex;
  flex-direction: column;
}

.acc-name {
  font-weight: 600;
  font-size: 15px;
  color: #111827;
}

.acc-email {
  font-size: 13px;
  color: #6b7280;
}

.acc-badges {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.acc-pill {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e0e7ff;
  color: #1e3a8a;
  font-weight: 500;
}

.acc-pill.light {
  background: #f3f4f6;
  color: #374151;
}

.acc-actions .acc-btn {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.acc-actions .acc-btn.solid {
  background: #111827;
  color: #ffffff;
}

.acc-actions .acc-btn.solid:hover {
  background: #000000;
}

/* ===== DASHBOARD MENU GRID ===== */

.user-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.user-card {
  display: block;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px 18px 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.user-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.user-card p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
}

.user-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
  border-color: #d1d5db;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 640px) {
  .acc-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .acc-actions {
    width: 100%;
  }

  .acc-actions .acc-btn {
    width: 100%;
    text-align: center;
  }
}

/* Samakan font tombol Simpan & Simulasi KPR */
button,
.btn-base,
.btn-primary,
.btn-outline {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* ====== STICKY FOOTER + FULL WIDTH (FINAL) ====== */
html, body { height: 100%; margin: 0; }

body{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: none !important;
}

/* konten dorong footer ke bawah */
.site-main{
  flex: 1 0 auto;
}

/* footer full layar */
.site-footer{
  flex-shrink: 0;
  background: #0b0b0b;
  color: #fff;
  text-align: center;
  padding: 16px 12px;
  box-sizing: border-box;

  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ==============================
   FIX FOOTER FULL WIDTH (FINAL)
   ============================== */

/* pastikan tidak ada pembatas lebar global */
html, body {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* layout sticky footer */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* konten utama dorong footer ke bawah */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

/* FOOTER BENAR-BENAR FULL LAYAR */
.site-footer {
  flex-shrink: 0;
  width: 100vw;
  background: #0b0b0b;
  color: #fff;
  text-align: center;
  padding: 18px 12px;

  /* ini kunci utama */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  box-sizing: border-box;
}

/* jaga-jaga kalau ada container nakal */
.site-footer * {
  max-width: 100%;
}

/* ==============================
   NUKLIR: PAKSA FOOTER FULL WIDTH
   ============================== */
.site-footer{
  background:#0b0b0b !important;
  color:#fff !important;

  /* buang semua pembatas */
  max-width: none !important;
  width: 100vw !important;
  margin: 0 !important;

  /* paksa nempel kiri layar */
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;

  box-sizing: border-box !important;
  text-align: center !important;
  padding: 18px 12px !important;
}

/* kalau ada wrapper yang ngasih padding kiri-kanan ke seluruh page */
body, .site-main, .container, .wrapper, .page, .layout{
  max-width: none;
}

/* cegah geser horizontal kalau layout kamu “maksa” */
html, body{
  overflow-x: hidden;
}

