
/* RESET */
body {
    margin: 0;
    padding-top: 0 !important;
}

/* Set global font untuk semua body, input, button, table, dll */
body, input, button, select, textarea, table {
    font-family: 'Inter', sans-serif;
}

/* Table nombor / amount guna monospace */
table td.amount, table th.amount {
    font-family: 'Roboto Mono', monospace;
}


/* MAIN WRAPPER */
#main {
    margin-left: 240px; /* sama dengan sidebar */
    min-height: 100vh;
    transition: margin-left 0.3s ease;
    padding-top: 0 !important;
}


/* RESET NAVBAR SPACE */
.navbar {
    margin-top: 0 !important;
}

.btn-custom-ungu {
    border: 2px solid black;
    background-color: #502321;
    color: white;

    padding: 10px 10px;
    font-size: 16px;
    font-weight: 700;

    border-radius: 12px;
    cursor: pointer;
}

/* Table Global Style - Sistem Yuran Taman */
/* Sistem Yuran Taman Table */
.table-taman {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    background-color: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.table-taman thead {
    background-color: #0056b3; /* warna rasmi taman */
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
}

.table-taman th,
.table-taman td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.table-taman tbody tr:nth-child(even) {
    background-color: #f8f9fa; /* zebra stripe */
}

.table-taman tbody tr:hover {
    background-color: #e2f0ff;
}

/* Status badges */
.badge-status {
    padding: 0.3em 0.6em;
    font-size: 0.75rem;
    border-radius: 0.25rem;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    min-width: 60px;
}

.badge-status.unpaid { background-color: #dc3545; color: #fff; }
.badge-status.partial { background-color: #ffc107; color: #212529; }
.badge-status.paid { background-color: #28a745; color: #fff; }

/* Responsive wrapper */
.table-responsive-taman {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive-taman::-webkit-scrollbar {
    height: 6px;
}

.table-responsive-taman::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 3px;
}

.bg-green {
    background-color: rgb(16, 46, 47);
}

.bg-yellowlight {
    background-color: rgb(233, 225, 85);
}

.text-monospace {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
}

.bg-soft-purple { background: #f3e8ff; }
.bg-soft-blue   { background: #e7f1ff; }
.bg-soft-green  { background: #eafaf1; }
.bg-soft-orange { background: #fff4e5; }

.text-purple { color: #6f42c1; }
.text-blue   { color: #0d6efd; }
.text-green  { color: #198754; }
.text-orange { color: #fd7e14; }


