/* ---------------------------------------------------------------------
   NEO-BRUTALISM DESIGN SYSTEM & RESET
   --------------------------------------------------------------------- */
:root {
    --bg-main: #f4f0fa; /* Warm Lilac-Sand */
    --border-color: #000000;
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-muted: #666666;
    
    /* Neon Brutalist Colors */
    --accent-yellow: #ffe81a;
    --accent-yellow-dark: #e5cf00;
    --accent-pink: #ff3b8d;
    --accent-blue: #2563eb;
    --accent-cyan: #00e5ff;
    --accent-green: #00e676;
    
    --card-bg: #ffffff;
    --border-width: 3px;
    --border-width-sm: 2px;
    
    --shadow-hard: 6px 6px 0px #000000;
    --shadow-hard-sm: 3px 3px 0px #000000;
    
    --sidebar-width: 205px;
    --trad-label-width: 80px;
    --global-nav-height: 52px;
    --transition-speed: 0.15s; /* Snappy transition */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    max-width: 100%;
    overflow-x: hidden;
    line-height: 1.4;
    position: relative;
}

/* Custom Scrollbars - Blocky */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #ffffff;
    border-left: var(--border-width) solid #000000;
}
::-webkit-scrollbar-thumb {
    background: var(--accent-yellow);
    border: var(--border-width) solid #000000;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-yellow-dark);
}

/* ---------------------------------------------------------------------
   APPLICATION LAYOUT
   --------------------------------------------------------------------- */
.app-container {
    display: flex;
    min-height: 100vh;
    padding-top: var(--global-nav-height);
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Sidebar Navigation (Compact & Sleek) */
.sidebar {
    width: var(--sidebar-width);
    background: #a78bfa; /* Stark Lilac Purple */
    border-right: var(--border-width) solid #000000;
    display: flex;
    flex-direction: column;
    padding: 0.85rem 0.65rem 0.75rem 0.65rem;
    position: fixed;
    top: var(--global-nav-height);
    height: calc(100vh - var(--global-nav-height));
    z-index: 400;
    overflow-y: auto;
    transition: transform var(--transition-speed) ease;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    margin-bottom: 0.75rem;
    background: #ffffff;
    border: var(--border-width-sm) solid #000000;
    padding: 0.45rem 0.6rem;
    box-shadow: 2px 2px 0px #000000;
    transform: rotate(-0.5deg);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.sidebar-close-btn {
    display: none;
    background: #ffffff;
    border: 1.5px solid #000000;
    color: #000000;
    width: 26px;
    height: 26px;
    min-width: 26px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    box-shadow: 1px 1px 0px #000000;
    transition: all 0.1s ease;
}

.sidebar-close-btn:hover {
    background: #fee2e2;
    transform: translate(-1px, -1px);
    box-shadow: 2px 2px 0px #000000;
}

/* Sidebar Backdrop for Mobile */
.sidebar-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    z-index: 600;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sidebar-open .sidebar-backdrop {
    display: block;
    opacity: 1;
}

.logo-icon {
    font-size: 1.15rem;
    color: #000000;
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: -0.3px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex-grow: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
    color: #000000;
    text-decoration: none;
    background: #ffffff;
    border: var(--border-width-sm) solid #000000;
    border-radius: 0px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    box-shadow: 2px 2px 0px #000000;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.menu-item i {
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

.menu-item:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #000000;
}

.menu-item.active {
    background: var(--accent-yellow);
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px #000000;
}

.sidebar-donate {
    margin: 0.45rem 0 0.25rem 0;
}

.sidebar-donate-card {
    padding: 0.45rem;
    background: #ffffff;
    border: var(--border-width) solid #000000;
    box-shadow: 2px 2px 0px #000000;
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
    box-sizing: border-box;
}

.sidebar-donate-card .donate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1.5px solid #000000;
    padding-bottom: 0.22rem;
    width: 100%;
}

.sidebar-donate-card .donate-title {
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    margin: 0;
}

.sidebar-donate-card .donate-tag {
    font-size: 0.56rem;
    font-weight: 800;
    padding: 0.06rem 0.26rem;
    background: var(--accent-yellow);
    border: 1px solid #000000;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.sidebar-donate-card .donate-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.32rem;
    width: 100%;
}

.sidebar-donate-card .qris-frame {
    width: 100%;
    max-width: 164px;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border: 1.5px solid #000000;
    box-shadow: 1.5px 1.5px 0px #000000;
    padding: 2px;
    position: relative;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.sidebar-donate-card .qris-frame:hover {
    transform: translate(-1px, -1px);
    box-shadow: 2.5px 2.5px 0px #000000;
}

.sidebar-donate-card .qris-image-sidebar {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

.sidebar-donate-card .qris-zoom-hint {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: #000000;
    color: #ffffff;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    border: 1px solid #ffffff;
    opacity: 0.85;
}

.sidebar-donate-card .donate-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.sidebar-donate-card .qris-supported-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.15rem;
    width: 100%;
}

.sidebar-donate-card .qris-supported-badges span {
    font-size: 0.5rem;
    font-weight: 800;
    padding: 0.04rem 0.2rem;
    background: #f1f5f9;
    border: 1px solid #000000;
    color: #000000;
    text-transform: uppercase;
    line-height: 1.1;
}

.sidebar-donate-card .donate-subtext-pill {
    font-size: 0.55rem;
    font-weight: 800;
    color: #111111;
    background: #fef08a;
    border: 1px solid #000000;
    padding: 0.08rem 0.35rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-footer {
    font-size: 0.62rem;
    font-weight: 700;
    color: #000000;
    text-align: center;
    border-top: 1px solid #000000;
    padding-top: 0.4rem;
    text-transform: uppercase;
}

/* Main Content Area (Revamped Spacing) */
.main-content {
    flex-grow: 1;
    margin-left: var(--sidebar-width);
    padding: 1.25rem 1.5rem;
    min-height: calc(100vh - var(--global-nav-height));
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: margin-left var(--transition-speed) ease;
    max-width: calc(100% - var(--sidebar-width));
    min-width: 0;
    overflow-x: hidden;
}

/* ---------------------------------------------------------------------
   TOP BAR / HEADER CONTROLS (UNIFIED, SLEEK, ZERO-GLITCH)
   --------------------------------------------------------------------- */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: var(--border-width) solid #000000;
    padding: 0.45rem 0.75rem;
    box-shadow: var(--shadow-hard);
    position: relative;
    z-index: 20;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.top-bar-tab-title {
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    margin-left: 0.25rem;
}

.nav-date-group {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.nav-select-group {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.select-month-wrapper {
    width: 96px;
}

.select-year-wrapper {
    width: 72px;
}

.select-filter-wrapper {
    width: 140px;
}

.select-yadnya-wrapper {
    width: 145px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-btn {
    background: #ffffff;
    border: var(--border-width-sm) solid #000000;
    color: #000000;
    width: 32px;
    height: 32px;
    min-width: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 0px #000000;
    font-size: 0.8rem;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.nav-btn:hover {
    background: var(--accent-yellow);
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #000000;
}

.nav-btn:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px #000000;
}

.nav-btn.active {
    background: var(--accent-yellow);
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px #000000;
}

.nav-btn-today {
    height: 32px;
    padding: 0 0.55rem;
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 2px 2px 0px #000000;
}

#btn-open-sync {
    height: 32px;
    padding: 0 0.55rem;
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 2px 2px 0px #000000;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Select element */
.select-wrapper {
    position: relative;
    height: 32px;
}

.custom-select {
    appearance: none;
    -webkit-appearance: none;
    background: #ffffff;
    border: var(--border-width-sm) solid #000000;
    padding: 0 1.25rem 0 0.5rem;
    color: #000000;
    font-family: inherit;
    font-size: 0.73rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    outline: none;
    height: 32px;
    width: 100%;
    box-shadow: 2px 2px 0px #000000;
    transition: all 0.1s ease;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.custom-select:focus {
    background: var(--accent-yellow);
}

.select-wrapper::after {
    content: "\f107";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.65rem;
    color: #000000;
    pointer-events: none;
}

/* Buttons */
.btn {
    padding: 0.45rem 1rem;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    border: var(--border-width-sm) solid #000000;
    box-shadow: 2px 2px 0px #000000;
    transition: all 0.1s ease;
}

.btn-primary {
    background: var(--accent-yellow);
    color: #000000;
}

.btn-primary:hover {
    background: var(--accent-yellow-dark);
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #000000;
}

.btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: none;
}

.btn-secondary {
    background: #ffffff;
    color: #000000;
}

.btn-secondary:hover {
    background: #f3f4f6;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #000000;
}

.btn-secondary:active {
    transform: translate(2px, 2px);
    box-shadow: none;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Switch UI */
.toggle-switch {
    position: relative;
    width: 155px;
    height: 32px;
    background: #ffffff;
    border: var(--border-width-sm) solid #000000;
    box-shadow: 2px 2px 0px #000000;
    flex-shrink: 0;
}

.toggle-switch input {
    display: none;
}

.toggle-switch label {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
    padding: 2px;
    margin: 0;
    box-sizing: border-box;
}

.toggle-btn-label {
    flex: 1;
    text-align: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-muted);
    z-index: 2;
    transition: color 0.15s ease;
    text-transform: uppercase;
    user-select: none;
    white-space: nowrap;
    line-height: 1;
}

.toggle-switch label::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: calc(50% - 2px);
    height: calc(100% - 4px);
    background: #000000;
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toggle-switch input:checked + label::after {
    transform: translateX(100%);
}

.toggle-switch input:not(:checked) + label .traditional-label {
    color: #ffffff;
}

.toggle-switch input:checked + label .gregorian-label {
    color: #ffffff;
}

/* ---------------------------------------------------------------------
   COMMON CARDS (NEO-BRUTALIST STYLING)
   --------------------------------------------------------------------- */
.card {
    background: var(--card-bg);
    border: var(--border-width) solid #000000;
    padding: 1.75rem;
    box-shadow: var(--shadow-hard);
    margin-bottom: 0.5rem;
    min-width: 0; /* Prevents Neo-brutalist cards from overflowing horizontally */
}

.card-title {
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    border-bottom: var(--border-width) solid #000000;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.text-accent { color: var(--accent-blue); }
.text-gold { color: var(--text-primary); }
.text-blue { color: var(--accent-blue); }
.text-pink { color: var(--accent-pink); }
.hide { display: none !important; }
.short-day { display: none !important; }
.short-wuku { display: none !important; }

/* ---------------------------------------------------------------------
   DASHBOARD GRID SYSTEM
   --------------------------------------------------------------------- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

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

.grid-left-col {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    min-width: 0; /* Prevents flex children from stretching container */
}

.grid-right-col {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    min-width: 0;
}

/* --- SIDEBAR TOGGLE & FOCUS/FULLSCREEN MODIFIERS --- */
@media (min-width: 993px) {
    .sidebar-collapsed .sidebar {
        transform: translateX(-100%);
    }
    .sidebar-collapsed .main-content {
        margin-left: 0;
        max-width: 100% !important;
    }
}

/* Focus/Fullscreen mode styles */
.fullscreen-active .sidebar {
    transform: translateX(-100%) !important;
}
.fullscreen-active .main-content {
    margin-left: 0 !important;
    max-width: 100% !important;
}
.fullscreen-active .grid-right-col {
    display: none !important;
}
.fullscreen-active .dashboard-grid {
    grid-template-columns: 1fr !important;
}
.fullscreen-active .donate-card {
    display: none !important;
}

/* Scaling calendar cells larger in Focus/Fullscreen mode */
.fullscreen-active .grid-gregorian .day-cell {
    height: 120px; /* Make cells taller for desktop standard */
}
.fullscreen-active .weekday-header-cell,
.fullscreen-active .day-cell {
    height: 72px; /* Make cells taller for traditional week columns */
}

/* ---------------------------------------------------------------------
   CALENDAR COMPONENT (HIGH PRECISION NEO-BRUTALIST)
   --------------------------------------------------------------------- */
.calendar-card {
    padding: 1.15rem 1.25rem;
}

.calendar-header-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid #000000;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.calendar-title {
    font-size: 1.35rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    border: 1.5px solid #000000;
    box-shadow: 2px 2px 0px #000000;
}

.badge-primary {
    background: var(--accent-yellow);
    color: #000000;
}

.badge-secondary {
    background: #ffffff;
    color: #000000;
}

.badge-time {
    background: var(--accent-cyan);
    color: #000000;
    font-variant-numeric: tabular-nums;
}

.meta-caka {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.calendar-viewport {
    min-height: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0;
}

/* --- TRADITIONAL WEEK-COLUMN GRID --- */
.grid-traditional {
    display: grid;
    border: var(--border-width) solid #000000;
    background: #000000;
    gap: var(--border-width);
    width: 100%;
    width: 100%;
}

.loading-state,
.error-state {
    grid-column: 1 / -1;
    background: #ffffff;
    padding: 2.5rem 1rem;
    text-align: center;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    color: var(--text-primary);
}

.error-state {
    color: #ef4444;
}

.trad-col {
    display: flex;
    flex-direction: column;
    background: #000000;
    gap: var(--border-width);
}

.wuku-header-cell {
    background: #a78bfa;
    height: 54px;
    padding: 0.25rem 0.4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.15rem;
    border-bottom: var(--border-width) solid #000000;
}

.wuku-header-title {
    font-size: 0.85rem;
    font-weight: 900;
    color: #000000;
    text-transform: uppercase;
    line-height: 1.1;
}

.wuku-header-bhatara {
    font-size: 0.62rem;
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.85;
    line-height: 1.1;
}

/* Side Labels column */
.weekday-header-col {
    grid-column: 1;
    width: var(--trad-label-width, 80px);
    background: #000000;
    gap: var(--border-width);
}

.weekday-header-cell {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    color: #000000;
    background: #ffffff;
    text-transform: uppercase;
}

.weekday-header-cell.weekend-label {
    background: #ffb3d1;
    color: #000000;
}

/* Day cells */
.day-cell {
    height: 52px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #ffffff;
    transition: background 0.08s ease;
}

.grid-traditional .day-cell {
    height: 52px;
}

.day-cell:hover {
    background: #fef08a !important;
}

.day-number {
    font-size: 1.15rem;
    font-weight: 900;
    color: #000000;
    z-index: 2;
    line-height: 1;
}

.day-cell.other-month {
    background: #f3f4f6;
}

.day-cell.other-month .day-number {
    color: #b3b3b3;
}

.day-cell.weekend {
    background: #fff0f5;
}

.day-cell.weekend .day-number {
    color: var(--accent-pink);
}

.day-cell.selected {
    background: var(--accent-yellow) !important;
    border: var(--border-width) solid #000000;
    box-shadow: inset 0 0 0 2px #000000;
}

.day-cell.highlight-today {
    background: #cffaf2;
    border: var(--border-width-sm) dashed #000000;
}

/* Indicators */
.indicators-container {
    display: flex;
    gap: 0.25rem;
    position: absolute;
    bottom: 4px;
    z-index: 3;
}

.dot-indicator {
    width: 6px;
    height: 6px;
    border-radius: 0px;
    border: 1px solid #000000;
}

.dot-purnama {
    background: var(--accent-yellow);
}

.dot-tilem {
    background: #000000;
}

.dot-holiday {
    background: var(--accent-pink);
}

/* Traditional Ingkel bottom row */
.ingkel-row-cell {
    background: #fed7aa;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: #000000;
    text-transform: uppercase;
    border-top: var(--border-width) solid #000000;
}

/* --- GREGORIAN VIEW --- */
.grid-gregorian {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: var(--border-width) solid #000000;
    background: #000000;
    gap: var(--border-width);
    width: 100%;
}

.greg-header-cell {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: #000000;
    background: #a78bfa;
    text-transform: uppercase;
}

.greg-header-cell.weekend {
    background: #ffb3d1;
}

.grid-gregorian .day-cell {
    height: 82px;
    position: relative;
    padding: 6px 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.grid-gregorian .wuku-tag {
    position: absolute;
    top: 5px;
    left: 6px;
    font-size: 0.6rem;
    font-weight: 800;
    background: #e5e7eb;
    border: 1px solid #000000;
    padding: 0px 4px;
    color: #000000;
    text-transform: uppercase;
    line-height: 1.3;
}

/* ---------------------------------------------------------------------
   SELECTED DAY DETAIL CARD
   --------------------------------------------------------------------- */
.selected-day-card {
    background: #ffffff;
}

.selected-day-details {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 600px) {
    .selected-day-details {
        grid-template-columns: 1fr;
    }
}

.moon-phase-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fed7aa; /* Orange box */
    border: var(--border-width) solid #000000;
    padding: 1.75rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-hard-sm);
    transform: rotate(1deg);
}

.moon-graphic {
    width: 80px;
    height: 80px;
}

.moon-phase-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: #000000;
    text-transform: uppercase;
}

.wewaran-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1rem;
}

.wewaran-cell {
    background: #ffffff;
    border: var(--border-width-sm) solid #000000;
    padding: 0.65rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    box-shadow: var(--shadow-hard-sm);
}

.wewaran-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 800;
    text-transform: uppercase;
}

.wewaran-val {
    font-size: 0.95rem;
    font-weight: 900;
    color: #000000;
}

/* ---------------------------------------------------------------------
   ALA-AYUNING DEWASA LIST
   --------------------------------------------------------------------- */
.dewasa-card {
    background: #ffffff;
}

.dewasa-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: var(--border-width) solid #000000;
    padding-bottom: 1rem;
}

.dewasa-header .card-title {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.dewasa-date-label {
    font-size: 1rem;
    font-weight: 800;
    color: #000000;
    background: var(--accent-yellow);
    border: var(--border-width-sm) solid #000000;
    padding: 0.35rem 0.85rem;
    box-shadow: var(--shadow-hard-sm);
}

.dewasa-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 270px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.dewasa-item {
    padding: 1rem;
    border: var(--border-width-sm) solid #000000;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    box-shadow: var(--shadow-hard-sm);
    transition: transform 0.1s ease;
}

.dewasa-item:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px #000000;
}

.dewasa-icon-box {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    width: 26px;
}

.dewasa-text-box {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dewasa-item-title {
    font-size: 0.95rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dewasa-item-desc {
    font-size: 0.85rem;
    font-weight: 500;
    color: #111111;
}

/* Colors for brutalist state items */
.dewasa-item.ayu {
    background: #d1fae5; /* Green */
}
.dewasa-item.ayu .dewasa-icon-box { color: #065f46; }
.dewasa-item.ayu .dewasa-item-title { color: #065f46; }

.dewasa-item.ala {
    background: #fee2e2; /* Red */
}
.dewasa-item.ala .dewasa-icon-box { color: #991b1b; }
.dewasa-item.ala .dewasa-item-title { color: #991b1b; }

.dewasa-item.info {
    background: #dbeafe; /* Blue */
}
.dewasa-item.info .dewasa-icon-box { color: #1e40af; }
.dewasa-item.info .dewasa-item-title { color: #1e40af; }

/* ---------------------------------------------------------------------
   LISTS PANEL & SCROLL LISTS
   --------------------------------------------------------------------- */
.lists-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.list-card {
    background: #ffffff;
}

.scroll-list {
    max-height: 280px;
    overflow-y: auto;
    padding-right: 0.5rem;
    padding-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.list-item {
    background: #ffffff;
    border: var(--border-width-sm) solid #000000;
    padding: 0.85rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    box-shadow: var(--shadow-hard-sm);
    transition: all 0.1s ease;
}

.list-item:hover {
    background: var(--accent-yellow);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px #000000;
}

.list-item:active {
    transform: translate(2px, 2px);
    box-shadow: none;
}

.list-item-title {
    font-size: 0.9rem;
    font-weight: 800;
}

.list-item-date {
    font-size: 0.8rem;
    font-weight: 800;
    background: #ffffff;
    border: 1.5px solid #000000;
    padding: 0.15rem 0.5rem;
    text-transform: uppercase;
}

.list-rerainan .list-item {
    border-left: 8px solid var(--accent-pink);
}

.list-penting .list-item {
    border-left: 8px solid var(--accent-blue);
}

.renungan-card {
    background: #fef08a; /* Bright Yellow Paper */
    transform: rotate(-0.5deg);
}

.renungan-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.renungan-content p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #000000;
    line-height: 1.5;
}

.quote-author {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #333333;
    text-transform: uppercase;
    align-self: flex-end;
    border-bottom: 2px solid #000000;
}

/* ---------------------------------------------------------------------
   TAB SEARCH MODULE STYLING (REVAMPED NEO-BRUTALIST)
   --------------------------------------------------------------------- */
.search-card {
    background: #ffffff;
    padding: 1.5rem;
}

.search-header-flex {
    margin-bottom: 1.25rem;
}

.search-subtitle {
    font-size: 0.82rem;
    font-weight: 600;
    color: #4b5563;
    margin-top: 0.25rem;
}

.rerainan-search-box {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: #faf5ff;
    border: var(--border-width) solid #000000;
    box-shadow: 4px 4px 0px #000000;
    padding: 1.15rem;
    margin-bottom: 1rem;
}

.rerainan-input-row {
    display: flex;
    gap: 0.5rem;
}

.input-icon-wrap {
    position: relative;
    flex: 1;
}

.search-input-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: #8b5cf6;
    pointer-events: none;
}

.search-text-input {
    width: 100%;
    height: 44px;
    padding-left: 2.75rem !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    border: 2px solid #000000 !important;
    box-shadow: 2px 2px 0px #000000 !important;
}

.btn-search-go {
    height: 44px;
    padding: 0 1.25rem;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.quick-rerainan-chips {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    padding-top: 0.25rem;
}

.chips-label {
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #000000;
    margin-right: 0.2rem;
}

.rerainan-chip {
    background: #ffffff;
    border: 1.5px solid #000000;
    box-shadow: 2px 2px 0px #000000;
    padding: 0.25rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.1s ease;
    text-transform: uppercase;
}

.rerainan-chip:hover {
    background: var(--accent-yellow);
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #000000;
}

.rerainan-chip.active {
    background: var(--accent-yellow);
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px #000000;
}

.advanced-filter-toggle-wrap {
    margin-bottom: 0.75rem;
}

.advanced-toggle-btn {
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    color: #4b5563;
    padding: 0.25rem 0;
}

.advanced-toggle-btn:hover {
    color: #000000;
}

.toggle-adv-icon {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.advanced-toggle-btn.active .toggle-adv-icon {
    transform: rotate(180deg);
}

.advanced-search-panel {
    background: #f8fafc;
    border: 2px solid #000000;
    box-shadow: 3px 3px 0px #000000;
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #000000;
    text-transform: uppercase;
}

.custom-input {
    background: #ffffff;
    border: var(--border-width-sm) solid #000000;
    padding: 0.5rem 0.75rem;
    color: #000000;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    outline: none;
    box-shadow: 2px 2px 0px #000000;
    transition: all 0.1s ease;
}

.custom-input:focus {
    background: var(--accent-yellow);
}

.results-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #000000;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.results-title {
    font-size: 0.95rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.results-count-badge {
    background: var(--accent-yellow);
    border: 1.5px solid #000000;
    box-shadow: 2px 2px 0px #000000;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    text-transform: uppercase;
}

.rerainan-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.85rem;
}

.rerainan-result-card {
    background: #ffffff;
    border: 2px solid #000000;
    box-shadow: 4px 4px 0px #000000;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    cursor: pointer;
    transition: all 0.12s ease;
}

.rerainan-result-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000000;
    background: #fafafa;
}

.result-card-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.result-date-badge {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: #000000;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #000000;
    box-shadow: 2px 2px 0px var(--accent-yellow);
}

.result-date-num {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
}

.result-date-my {
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    margin-top: 2px;
}

.result-main-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.result-countdown {
    font-size: 0.65rem;
    font-weight: 800;
    color: #15803d;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.result-day-title {
    font-size: 0.95rem;
    font-weight: 900;
    color: #000000;
    line-height: 1.15;
}

.result-lunar-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: #4b5563;
}

.card-rerainan-tag {
    background: #fef08a;
    border: 1.5px solid #000000;
    padding: 0.35rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #000000;
    text-transform: uppercase;
}

.card-rerainan-tag.neutral-tag {
    background: #e0f2fe;
}

.result-chips-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
    font-size: 0.72rem;
}

.r-chip {
    background: #f3f4f6;
    border: 1px solid #000000;
    padding: 0.2rem 0.4rem;
    display: flex;
    justify-content: space-between;
}

.r-chip-k {
    font-weight: 600;
    color: #6b7280;
    font-size: 0.65rem;
    text-transform: uppercase;
}

.btn-card-view-cal {
    height: 32px;
    padding: 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    margin-top: 0.25rem;
}

.loading-search-box,
.empty-results-box,
.error-results-box {
    grid-column: 1 / -1;
    padding: 2rem;
    text-align: center;
    border: 2px dashed #000000;
    font-size: 0.88rem;
    font-weight: 800;
    background: #ffffff;
}

.loading-search-box i {
    font-size: 1.25rem;
    margin-right: 0.4rem;
    color: #8b5cf6;
}

.error-results-box {
    background: #fee2e2;
    color: #991b1b;
}

/* ---------------------------------------------------------------------
   ABOUT TAB STYLING
   --------------------------------------------------------------------- */
.about-card {
    background: #ffffff;
    line-height: 1.6;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-content p {
    color: #333333;
    font-weight: 500;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.about-cell {
    background: #ffffff;
    border: var(--border-width) solid #000000;
    padding: 1.5rem;
    box-shadow: var(--shadow-hard-sm);
    transform: rotate(0.5deg);
}

.about-cell:nth-child(even) {
    transform: rotate(-0.5deg);
}

.about-cell h4 {
    color: #000000;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
    border-bottom: var(--border-width-sm) solid #000000;
    padding-bottom: 0.5rem;
}

.about-cell p {
    font-size: 0.9rem;
}

.wewaran-explanation {
    border-top: var(--border-width) solid #000000;
    padding-top: 2rem;
}

.wewaran-explanation h4 {
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
    font-weight: 900;
    text-transform: uppercase;
}

.wewaran-explanation ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wewaran-explanation li {
    font-size: 0.9rem;
    color: #111111;
    border-left: 4px solid #000000;
    padding-left: 0.75rem;
}

.wewaran-explanation li strong {
    color: #000000;
    font-weight: 900;
    text-transform: uppercase;
}


/* ---------------------------------------------------------------------
   DONATE QRIS BANNER CARD
   --------------------------------------------------------------------- */
.donate-card {
    background: #ffffff;
    border: var(--border-width) solid #000000;
    padding: 1.5rem;
    box-shadow: var(--shadow-hard);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.donate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: var(--border-width-sm) solid #000000;
    padding-bottom: 0.5rem;
}

.donate-tag {
    background: var(--accent-pink);
    color: #000000;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    border: var(--border-width-sm) solid #000000;
    padding: 0.15rem 0.5rem;
    box-shadow: var(--shadow-hard-sm);
}

.donate-title {
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #000000;
}

.donate-body {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

@media (max-width: 480px) {
    .donate-body {
        flex-direction: column;
        text-align: center;
    }
}

.qris-graphic {
    flex-shrink: 0;
    border: var(--border-width-sm) solid #000000;
    box-shadow: var(--shadow-hard-sm);
    padding: 4px;
    background: #ffffff;
    width: 98px;
    height: 98px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.donate-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.donate-info p {
    font-size: 0.85rem;
    font-weight: 600;
    color: #111111;
    line-height: 1.4;
}

.donate-subtext {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
}


/* ---------------------------------------------------------------------
   AI CHAT INTERFACE
   --------------------------------------------------------------------- */
.chat-card {
    background: #ffffff;
}

.chat-intro-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.chat-interface {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: var(--border-width) solid #000000;
    box-shadow: var(--shadow-hard);
    padding: 1.25rem;
    background: #fcfcfc;
}

.chat-logs {
    height: 380px;
    overflow-y: auto;
    border: var(--border-width-sm) solid #000000;
    background: #ffffff;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.05);
}

.chat-message {
    display: flex;
    max-width: 80%;
}

.chat-message.user {
    align-self: flex-end;
}

.chat-message.assistant {
    align-self: flex-start;
}

.chat-bubble {
    padding: 0.85rem 1.25rem;
    border: var(--border-width-sm) solid #000000;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
    box-shadow: var(--shadow-hard-sm);
}

.chat-message.user .chat-bubble {
    background: var(--accent-yellow);
    color: #000000;
}

.chat-message.assistant .chat-bubble {
    background: #f3f0fa;
    color: #000000;
}

.chat-message.error .chat-bubble {
    background: #fee2e2;
    color: #991b1b;
}

.chat-message.loading .chat-bubble {
    background: #f3f4f6;
    color: var(--text-muted);
    font-style: italic;
}

.chat-input-container {
    display: flex;
    gap: 1rem;
}

.chat-input-container .custom-input {
    flex-grow: 1;
    border-width: var(--border-width-sm);
}


/* ---------------------------------------------------------------------
   RESPONSIVENESS AND RESPONSIVE BREAKPOINTS
   --------------------------------------------------------------------- */
@media (max-width: 992px) {
    .sidebar {
        top: 0 !important;
        height: 100vh !important;
        z-index: 700 !important;
        transform: translateX(-100%);
        width: 250px;
        max-width: 82vw;
        box-shadow: 4px 0px 0px #000000;
        padding: 0.85rem 0.75rem;
    }

    .sidebar-open .sidebar {
        transform: translateX(0);
    }

    .sidebar-close-btn {
        display: flex;
    }

    .main-content {
        margin-left: 0 !important;
        max-width: 100% !important;
        padding: 0.75rem 0.6rem !important;
    }
}

@media (max-width: 768px) {
    :root {
        --trad-label-width: 42px;
    }

    .full-day {
        display: none !important;
    }
    
    .short-day {
        display: inline !important;
    }

    .full-wuku {
        display: none !important;
    }

    .short-wuku {
        display: inline !important;
    }

    .sidebar {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
    }
    
    .sidebar-header {
        align-self: center;
    }
    
    .sidebar-menu {
        justify-content: center;
    }
    
    .top-bar {
        padding: 0.45rem 0.55rem;
        gap: 0.45rem;
        flex-direction: column;
        align-items: stretch;
    }

    .top-bar-left {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 0.35rem;
        flex-wrap: wrap;
    }

    .top-bar-right {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 0.35rem;
        flex-wrap: wrap;
    }

    .select-filter-wrapper,
    .select-yadnya-wrapper {
        flex: 1 1 135px;
        min-width: 120px;
    }

    .top-bar-actions {
        margin-left: auto;
    }

    .nav-picker-btn {
        padding: 0 0.45rem;
        font-size: 0.68rem;
    }

    .nav-btn {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.75rem;
        box-shadow: 2px 2px 0px #000000;
    }

    .nav-btn-today {
        height: 32px;
        padding: 0 0.5rem;
        font-size: 0.72rem;
    }

    .select-month-wrapper {
        min-width: 88px;
        height: 32px;
    }

    .select-year-wrapper {
        min-width: 68px;
        height: 32px;
    }

    .select-month-wrapper .custom-select,
    .select-year-wrapper .custom-select {
        height: 32px;
        font-size: 0.72rem;
        padding: 0.15rem 1.1rem 0.15rem 0.4rem;
    }

    #btn-open-sync,
    #btn-toggle-selengkapnya {
        height: 32px;
        padding: 0 0.5rem;
        font-size: 0.72rem;
    }
    
    .selected-day-details {
        grid-template-columns: 1fr;
    }
    
    .moon-phase-box {
        max-width: 260px;
        margin: 0 auto;
    }

    /* Padding adjustments to maximize space */
    .main-content {
        padding: 0.65rem 0.5rem !important;
    }
    .card {
        padding: 0.85rem !important;
    }
    .calendar-card {
        padding: 0.65rem 0.35rem !important;
    }

    .calendar-header-meta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.45rem;
        margin-bottom: 0.65rem;
        padding-bottom: 0.5rem;
    }

    .meta-caka {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 0.35rem;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

    .meta-caka::-webkit-scrollbar {
        display: none;
    }

    .meta-caka .badge {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 0.65rem !important;
        padding: 0.2rem 0.45rem !important;
        gap: 0.25rem !important;
    }

    /* Traditional Grid Mobile Adjustments */
    .wuku-header-cell {
        padding: 0.5rem 0.25rem !important;
    }
    .wuku-header-title {
        font-size: 0.75rem !important;
    }
    .wuku-header-bhatara {
        display: none !important; /* Hide bhatara names in traditional headers on mobile */
    }
    .weekday-header-cell,
    .grid-traditional .day-cell {
        height: 44px !important;
    }
    .grid-traditional .day-cell .day-number {
        font-size: 0.9rem !important;
    }
    .weekday-header-cell {
        font-size: 0.7rem !important;
    }
    .ingkel-row-cell {
        font-size: 0.6rem !important;
        padding: 0.25rem 0.1rem !important;
    }

    /* Gregorian Grid Mobile Adjustments */
    .grid-gregorian .day-cell {
        height: 52px !important;
        padding: 2px 3px !important;
    }
    .grid-gregorian .day-cell .day-number {
        font-size: 0.95rem !important;
    }
    .grid-gregorian .wuku-tag {
        font-size: 0.5rem !important;
        top: 3px !important;
        left: 4px !important;
        padding: 0px 2px !important;
        border-width: 1px !important;
    }
    .grid-gregorian .greg-header-cell {
        padding: 0.5rem 0.25rem !important;
        font-size: 0.75rem !important;
    }
    .dot-indicator {
        width: 6px !important;
        height: 6px !important;
        border-width: 1px !important;
    }
    .indicators-container {
        bottom: 4px !important;
        left: 4px !important;
        gap: 0.2rem !important;
    }
}

@media (max-width: 480px) {
    .sidebar-menu {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.35rem !important;
        width: 100% !important;
    }
    
    .menu-item {
        justify-content: flex-start !important;
        text-align: left !important;
        font-size: 0.75rem !important;
        padding: 0.5rem 0.75rem !important;
    }
    
    .month-selector-panel {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .month-selector-panel .custom-select {
        min-width: 110px;
    }

    .main-content {
        padding: 0.5rem 0.3rem !important;
    }
    
    .calendar-card {
        padding: 0.5rem 0.2rem !important;
    }
    
    .card {
        padding: 0.75rem 0.6rem !important;
    }
    
    /* Slightly smaller Gregorian cell height for extra-small viewports */
    .grid-gregorian .day-cell {
        height: 55px !important;
        padding: 2px 4px !important;
    }

    /* Extra small screens adjustments */
}

/* ---------------------------------------------------------------------
   BOTTOM DASHBOARD LAYOUT & RESPONSIVENESS
   --------------------------------------------------------------------- */
.bottom-dashboard-layout {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr;
    gap: 2.5rem;
    margin-top: 2.5rem;
    width: 100%;
}

.bottom-side-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

@media (max-width: 1024px) {
    .bottom-dashboard-layout {
        grid-template-columns: 1fr 1fr;
    }
    .bottom-side-column {
        grid-column: span 2;
        flex-direction: row;
        gap: 2rem;
    }
    .bottom-side-column .card {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .bottom-dashboard-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .bottom-side-column {
        grid-column: span 1;
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Fullscreen mode overrides */
.fullscreen-active .bottom-dashboard-layout {
    display: none !important;
}


/* ---------------------------------------------------------------------
   MODAL DIALOG STYLING
   --------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-content {
    background: #ffffff;
    border: var(--border-width) solid #000000;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    box-shadow: var(--shadow-hard);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
    background: #a78bfa;
    border-bottom: var(--border-width) solid #000000;
    padding: 1.25rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header .modal-title {
    margin-bottom: 0;
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #000000;
    border-bottom: none;
    padding-bottom: 0;
}

.modal-close-btn {
    background: #ffffff;
    border: var(--border-width-sm) solid #000000;
    color: #000000;
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-hard-sm);
    transition: all 0.1s ease;
}

.modal-close-btn:hover {
    background: var(--accent-pink);
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0px #000000;
}

.modal-close-btn:active {
    transform: translate(2px, 2px);
    box-shadow: none;
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    background: var(--bg-main);
}

.modal-details-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .modal-details-grid {
        grid-template-columns: 1fr;
    }
}

.modal-details-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-details-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-section-card {
    background: #ffffff;
    border: var(--border-width-sm) solid #000000;
    padding: 1.25rem;
    box-shadow: var(--shadow-hard-sm);
}

.modal-section-title {
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    border-bottom: var(--border-width-sm) solid #000000;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-rerainan-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-height: 180px;
    overflow-y: auto;
}

.modal-rerainan-item {
    background: #fff0f5;
    border: var(--border-width-sm) solid #000000;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-left: 8px solid var(--accent-pink);
    box-shadow: var(--shadow-hard-sm);
}

.modal-rerainan-item-desc {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 0.2rem;
}


/* ---------------------------------------------------------------------
   CALENDAR TOOLTIP POPOVER
   --------------------------------------------------------------------- */
.calendar-tooltip {
    position: absolute;
    background: #ffffff;
    border: var(--border-width-sm) solid #000000;
    padding: 0.75rem 1rem;
    z-index: 1500;
    pointer-events: none;
    box-shadow: var(--shadow-hard-sm);
    min-width: 210px;
    max-width: 320px;
    font-size: 0.85rem;
    line-height: 1.4;
    transition: opacity 0.1s ease;
    border-radius: 0px;
}

.tooltip-header {
    font-weight: 900;
    font-size: 0.95rem;
    border-bottom: 2px solid #000000;
    padding-bottom: 0.25rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: var(--accent-blue);
}

.tooltip-row {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.tooltip-row span {
    font-weight: 800;
}

.tooltip-rerainan {
    margin-top: 0.5rem;
    padding-top: 0.4rem;
    border-top: 1.5px dashed #000000;
    font-weight: 700;
    color: var(--accent-pink);
}


/* ---------------------------------------------------------------------
   HARI BAIK FILTER HIGHLIGHTS & DIMMING
   --------------------------------------------------------------------- */
.day-cell.day-good {
    background: #d1fae5 !important; /* Premium Green */
    border: var(--border-width) solid #10b981 !important;
    box-shadow: inset 0 0 0 2px #10b981 !important;
}

.day-cell.day-good .day-number {
    color: #065f46 !important;
    font-weight: 800 !important;
}

.day-cell.day-best {
    background: #fff3c4 !important; /* Premium Balinese Gold */
    border: var(--border-width) solid #ffd54f !important;
    box-shadow: inset 0 0 0 2px #ffd54f !important;
}

.day-cell.day-best .day-number {
    color: #8c6b00 !important;
    font-weight: 900 !important;
}

.day-cell.day-bad {
    background: #fee2e2 !important; /* Austere Red */
    border: var(--border-width) solid #ef4444 !important;
    box-shadow: inset 0 0 0 2px #ef4444 !important;
}

.day-cell.day-bad .day-number {
    color: #991b1b !important;
}

.day-cell.day-dimmed {
    opacity: 0.25;
}

.day-cell.day-dimmed:hover {
    opacity: 0.95;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Astrological daily metrics styles (New) */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.metric-item {
    background: #ffffff;
    border: var(--border-width-sm) solid #000000;
    padding: 0.65rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    box-shadow: var(--shadow-hard-sm);
    transition: transform 0.1s ease;
}

.metric-item:hover {
    transform: translate(-1px, -1px);
    box-shadow: 4px 4px 0px #000000;
}

.metric-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 800;
    text-transform: uppercase;
}

.metric-value {
    font-size: 0.95rem;
    font-weight: 900;
    color: #000000;
}

/* ---------------------------------------------------------------------
   TAB URIP NIKAH STYLING
   --------------------------------------------------------------------- */
.nikah-card {
    background: #ffffff;
}

.nikah-intro-text {
    font-size: 0.95rem;
    color: #444444;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.nikah-form-container {
    border-bottom: var(--border-width) solid #000000;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.nikah-couple-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.couple-card {
    background: #ffffff;
    border: var(--border-width) solid #000000;
    padding: 1.5rem;
    box-shadow: var(--shadow-hard);
}

.purusa-card {
    border-top: 6px solid var(--accent-blue);
}

.pradhana-card {
    border-top: 6px solid var(--accent-pink);
}

.couple-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: var(--border-width-sm) solid #000000;
}

.couple-header h4 {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.couple-role-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    background: #dbeafe;
    color: #1e40af;
    border: 1.5px solid #000000;
}

.couple-role-tag.pradhana-tag {
    background: #fce7f3;
    color: #9d174d;
}

.couple-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nikah-action-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nikah-helper-hint {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Results layout */
.nikah-summary-banner {
    background: #fef9c3;
    border: var(--border-width) solid #000000;
    padding: 1.5rem;
    box-shadow: var(--shadow-hard);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.nikah-summary-status h3 {
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 0.25rem;
}

.nikah-summary-status p {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333333;
}

.nikah-score-badge {
    background: var(--accent-yellow);
    border: var(--border-width) solid #000000;
    box-shadow: var(--shadow-hard-sm);
    padding: 0.75rem 1.25rem;
    text-align: center;
}

.nikah-score-num {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.nikah-score-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.nikah-section-title {
    font-size: 1.1rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 1.75rem 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: var(--border-width-sm) solid #000000;
    padding-bottom: 0.4rem;
}

.nikah-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.nikah-result-box {
    background: #ffffff;
    border: var(--border-width) solid #000000;
    padding: 1.25rem;
    box-shadow: var(--shadow-hard-sm);
}

.nikah-result-box h5 {
    font-size: 0.95rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nikah-tag-badge {
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    border: 1.5px solid #000000;
    background: var(--accent-yellow);
}

.nikah-tag-aksara {
    display: inline-block;
    background: #f3f4f6;
    border: 1px solid #000000;
    padding: 0.15rem 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0.2rem 0.2rem 0.2rem 0;
}


@media (max-width: 768px) {
    .btn-sync-text {
        display: none;
    }
}



@media (max-width: 900px) {
    .top-bar {
        flex-wrap: wrap !important;
        gap: 0.45rem !important;
    }

    .top-bar-left {
        width: 100%;
        justify-content: space-between;
    }

    .top-bar-right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.35rem;
        padding-top: 0.4rem;
        border-top: 1px dashed #000000;
    }

    .select-filter-wrapper {
        flex: 1;
        min-width: 120px;
    }
}

/* ---------------------------------------------------------------------
   MINIMALIST & COOL SYNC MODAL
   --------------------------------------------------------------------- */
.sync-modal-box {
    max-width: 440px !important;
    width: 92% !important;
    border: var(--border-width) solid #000000 !important;
    box-shadow: 7px 7px 0px #000000 !important;
    background: #ffffff !important;
    overflow: hidden;
}

.sync-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 1.25rem 1rem 1.25rem;
    border-bottom: 2px solid #000000;
    background: #fafafa;
}

.sync-header-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sync-icon-badge {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: var(--accent-yellow);
    border: 2px solid #000000;
    box-shadow: 2px 2px 0px #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #000000;
}

.sync-title {
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    margin: 0;
    line-height: 1.1;
    color: #000000;
}

.sync-subtitle {
    font-size: 0.68rem;
    font-weight: 600;
    color: #4b5563;
    margin-top: 0.2rem;
    line-height: 1.2;
}

.sync-close-btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: #ffffff;
    border: 2px solid #000000;
    box-shadow: 2px 2px 0px #000000;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;
}

.sync-close-btn:hover {
    background: #fee2e2;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #000000;
}

.sync-close-btn:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px #000000;
}

.sync-modal-body {
    padding: 1.25rem;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Sync Status Box */
.sync-status-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fdfae7;
    border: 2px solid #000000;
    box-shadow: 2px 2px 0px #000000;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
}

.sync-status-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sync-status-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #555555;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.sync-period-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sync-period-row strong {
    font-size: 0.95rem;
    font-weight: 800;
    color: #000000;
}

.sync-badge {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 2px 6px;
    border: 1.5px solid #000000;
    letter-spacing: 0.5px;
}

.sync-badge-active {
    background: #22c55e;
    color: #ffffff;
}

.sync-badge-expired {
    background: #ef4444;
    color: #ffffff;
}

.btn-renew-sync {
    background: #ffffff;
    border: 2px solid #000000;
    box-shadow: 2px 2px 0px #000000;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.1s ease;
    white-space: nowrap;
}

.btn-renew-sync:hover {
    background: #fef08a;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #000000;
}

.btn-renew-sync:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px #000000;
}

.sync-options-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sync-option-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    text-decoration: none;
    border: 2px solid #000000;
    box-shadow: 3px 3px 0px #000000;
    color: #000000;
    background: #ffffff;
    transition: all 0.12s ease;
    cursor: pointer;
}

.sync-option-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px #000000;
}

.sync-option-card:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px #000000;
}

.sync-option-card.google-card:hover {
    background: #f0fdf4;
}

.sync-option-card.apple-card:hover {
    background: #f8fafc;
}

.sync-option-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.platform-logo {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border: 2px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 2px 2px 0px #000000;
}

.platform-logo.google-logo {
    background: #ffffff;
    color: #ea4335;
}

.platform-logo.apple-logo {
    background: #000000;
    color: #ffffff;
}

.platform-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.platform-name {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: #000000;
    line-height: 1.1;
}

.platform-desc {
    font-size: 0.68rem;
    font-weight: 600;
    color: #6b7280;
}

.sync-arrow-badge {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: #f3f4f6;
    border: 1.5px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #000000;
    transition: background 0.1s ease;
}

.sync-option-card:hover .sync-arrow-badge {
    background: var(--accent-yellow);
}

.ics-logo {
    background: #0284c7;
    color: #ffffff;
}

.sync-url-copy-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.25rem;
}

.sync-url-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #333333;
}

.sync-input-group {
    display: flex;
    gap: 0.4rem;
}

.sync-url-field {
    flex: 1;
    font-size: 0.78rem;
    padding: 0.45rem 0.65rem;
    border: 2px solid #000000;
    box-shadow: 2px 2px 0px #000000;
    background: #f8fafc;
    color: #334155;
    font-family: monospace;
}

.btn-copy-url {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    border: 2px solid #000000;
    box-shadow: 2px 2px 0px #000000;
    background: #ffffff;
}

.btn-copy-url:hover {
    background: #fef08a;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #000000;
}

.btn-copy-url:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px #000000;
}

.sync-copy-feedback {
    font-size: 0.75rem;
    font-weight: 700;
    color: #16a34a;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.sync-trust-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    color: #4b5563;
    padding-top: 0.25rem;
    text-align: center;
}

.sync-trust-footer i {
    color: #16a34a;
    font-size: 0.75rem;
}

/* ---------------------------------------------------------------------
   REVAMPED MINIMALIST & COOL DAY DETAIL MODAL
   --------------------------------------------------------------------- */
.day-modal-box {
    max-width: 840px !important;
    width: 94% !important;
    max-height: 90vh !important;
    border: var(--border-width) solid #000000 !important;
    box-shadow: 7px 7px 0px #000000 !important;
    background: #ffffff !important;
    overflow: hidden;
}

.day-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    border-bottom: 2px solid #000000;
    background: #ffffff;
}

.day-header-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.day-header-badge {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--accent-yellow);
    border: 2px solid #000000;
    box-shadow: 2px 2px 0px #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: #000000;
}

.day-modal-title {
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    margin: 0;
    line-height: 1.2;
    color: #000000;
}

.day-modal-subtitle {
    font-size: 0.72rem;
    font-weight: 700;
    color: #4b5563;
    margin-top: 0.15rem;
}

.day-modal-body {
    padding: 1rem 1.25rem 1.25rem 1.25rem;
    background: #fdfdfd;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-height: calc(90vh - 65px);
}

/* Top Summary Pill Banner */
.day-summary-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border: 2px solid #000000;
    box-shadow: 3px 3px 0px #000000;
    padding: 0.65rem 0.85rem;
}

.day-moon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    min-width: 62px;
    background: #18142c;
    border: 2px solid #000000;
    box-shadow: 2px 2px 0px #000000;
    padding: 2px;
}

.moon-graphic-mini {
    width: 40px;
    height: 40px;
}

.day-moon-label {
    font-size: 0.52rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.day-astro-chips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.45rem;
    flex: 1;
}

.astro-chip {
    background: #ffffff;
    border: 1.5px solid #000000;
    box-shadow: 2px 2px 0px #000000;
    padding: 0.35rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.astro-label {
    font-size: 0.58rem;
    font-weight: 800;
    color: #6b7280;
    text-transform: uppercase;
}

.astro-val {
    font-size: 0.75rem;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Two Columns Grid */
.day-columns-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0.85rem;
}

.day-section-head {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    margin-bottom: 0.45rem;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid #000000;
    color: #000000;
}

.day-section-head i {
    font-size: 0.85rem;
}

.day-section-head.rerainan-head i {
    color: #f59e0b;
}

.day-section-head.dewasa-head i {
    color: #3b82f6;
}

.wewaran-grid-mini {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
}

.wewaran-grid-mini .wewaran-cell {
    background: #ffffff;
    border: 1.5px solid #000000;
    box-shadow: 2px 2px 0px #000000;
    padding: 0.35rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.wewaran-grid-mini .wewaran-label {
    font-size: 0.58rem;
    color: #6b7280;
    font-weight: 800;
    text-transform: uppercase;
}

.wewaran-grid-mini .wewaran-val {
    font-size: 0.75rem;
    font-weight: 900;
    color: #000000;
}

.day-subcard {
    margin-bottom: 0.75rem;
}

.dewasa-list-mini {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.dewasa-list-mini .dewasa-item {
    padding: 0.45rem 0.65rem;
    border: 1.5px solid #000000;
    box-shadow: 2px 2px 0px #000000;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.dewasa-list-mini .dewasa-icon-box {
    font-size: 0.95rem;
    height: 18px;
    width: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.dewasa-list-mini .dewasa-text-box {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.dewasa-list-mini .dewasa-item-title {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.dewasa-list-mini .dewasa-item-desc {
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.25;
    color: #1f2937;
}

@media (max-width: 768px) {
    .day-columns-grid {
        grid-template-columns: 1fr;
    }
    .day-astro-chips {
        grid-template-columns: repeat(2, 1fr);
    }
}

.nav-picker-btn {
    height: 32px;
    padding: 0 0.65rem;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #ffffff;
    color: #000000;
    border: var(--border-width-sm) solid #000000;
    box-shadow: 2px 2px 0px #000000;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.1s ease;
}

.nav-picker-btn * {
    pointer-events: none;
}

.nav-picker-btn:hover {
    background: var(--accent-yellow);
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #000000;
}

.nav-picker-btn:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0px #000000;
}

.picker-caret {
    font-size: 0.6rem;
    opacity: 0.7;
    margin-left: 0.15rem;
}

/* ---------------------------------------------------------------------
   NEO-BRUTALIST FLATPICKR THEME
   --------------------------------------------------------------------- */
.flatpickr-calendar {
    background: #ffffff !important;
    border: 2.5px solid #000000 !important;
    box-shadow: 6px 6px 0px #000000 !important;
    border-radius: 0px !important;
    font-family: 'Outfit', sans-serif !important;
    z-index: 9999 !important;
}

.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after,
.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
    display: none !important;
}

.flatpickr-months {
    background: #a78bfa !important;
    border-bottom: 2px solid #000000 !important;
    padding: 0.25rem 0 !important;
}

.flatpickr-months .flatpickr-month {
    color: #000000 !important;
}

.flatpickr-current-month {
    font-weight: 900 !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    padding-top: 4px !important;
}

.flatpickr-current-month .numInputWrapper span.arrowUp,
.flatpickr-current-month .numInputWrapper span.arrowDown {
    border: 1px solid #000000 !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    color: #000000 !important;
    fill: #000000 !important;
    padding: 8px !important;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    color: #000000 !important;
    background: var(--accent-yellow) !important;
}

span.flatpickr-weekday {
    color: #000000 !important;
    font-weight: 800 !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    border-bottom: 1.5px solid #000000 !important;
    background: #fafafa !important;
}

.flatpickr-day {
    border-radius: 0px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    border: 1px solid transparent !important;
    height: 34px !important;
    line-height: 34px !important;
}

.flatpickr-day:hover {
    background: #fef08a !important;
    border: 1px solid #000000 !important;
}

.flatpickr-day.selected {
    background: var(--accent-yellow) !important;
    color: #000000 !important;
    border: 1.5px solid #000000 !important;
    font-weight: 900 !important;
}

.flatpickr-day.today {
    border: 1.5px dashed #000000 !important;
    background: #d1fae5 !important;
}


/* --- Disclaimer & Methodology Notes --- */
.calendar-disclaimer-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #fffbeb;
    border: 2px solid #000000;
    box-shadow: 3px 3px 0px #000000;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    font-size: 0.8rem;
    line-height: 1.45;
    color: #451a03;
}

.calendar-disclaimer-banner i {
    font-size: 1.1rem;
    color: #d97706;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.modal-disclaimer-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8fafc;
    border: 1.5px solid #000000;
    padding: 0.5rem 0.75rem;
    margin-top: 1rem;
    font-size: 0.72rem;
    color: #475569;
    line-height: 1.35;
}

.modal-disclaimer-note i {
    color: #0284c7;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.sync-disclaimer-note {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    background: #fffbeb;
    border: 1.5px solid #000000;
    padding: 0.5rem 0.75rem;
    font-size: 0.72rem;
    color: #78350f;
    line-height: 1.35;
}

.sync-disclaimer-note i {
    color: #d97706;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.about-disclaimer-card {
    background: #fffbeb;
    border: 2px solid #000000;
    box-shadow: 3px 3px 0px #000000;
    padding: 1rem;
    margin-top: 1.5rem;
}

.about-disclaimer-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #b45309;
    margin-bottom: 0.5rem;
}

.about-disclaimer-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #451a03;
}

/* ---------------------------------------------------------------------
   FILTER HARI BAIK LEGEND BAR
   --------------------------------------------------------------------- */
.filter-legend-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    background: #f8fafc;
    border: 2px solid #000000;
    box-shadow: 2px 2px 0px #000000;
    padding: 0.45rem 0.85rem;
    margin-bottom: 0.85rem;
    font-size: 0.8rem;
    animation: fadeIn 0.2s ease-in-out;
}

.filter-legend-bar.hide {
    display: none !important;
}

.legend-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: #0f172a;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.legend-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1.5px solid #000000;
}

.legend-chip .legend-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0,0,0,0.3);
}

.legend-chip.legend-best {
    background: #fff3c4;
    color: #8c6b00;
}
.legend-chip.legend-best .legend-dot {
    background: #ffd54f;
}

.legend-chip.legend-good {
    background: #d1fae5;
    color: #065f46;
}
.legend-chip.legend-good .legend-dot {
    background: #10b981;
}

.legend-chip.legend-bad {
    background: #fee2e2;
    color: #991b1b;
}
.legend-chip.legend-bad .legend-dot {
    background: #ef4444;
}

.legend-chip.legend-dimmed {
    background: #f1f5f9;
    color: #64748b;
}
.legend-chip.legend-dimmed .legend-dot {
    background: #94a3b8;
}

/* ---------------------------------------------------------------------
   BILINGUAL (I18N) & GLOBAL SITE NAVIGATION (MOBILE-FIRST POLISHED)
   --------------------------------------------------------------------- */
html[data-lang="en"] .lang-id {
    display: none !important;
}
html:not([data-lang="en"]) .lang-en {
    display: none !important;
}

.global-site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-bottom: var(--border-width) solid #000000;
    box-shadow: 0px 3px 0px #000000;
    padding: 0 1.25rem;
    height: var(--global-nav-height);
    min-height: var(--global-nav-height);
    gap: 0.75rem;
    box-sizing: border-box;
}

.global-site-nav-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.global-site-brand {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    color: #000000;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.global-site-brand .brand-logo-icon {
    width: 26px;
    height: 26px;
    background: var(--accent-yellow);
    border: 2px solid #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.global-nav-scroller {
    display: flex;
    align-items: center;
}

.global-nav-links {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.global-nav-links li {
    margin: 0;
}

.global-nav-links a {
    text-decoration: none;
    color: #000000;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.35rem 0.65rem;
    border: 2px solid transparent;
    transition: all var(--transition-speed) ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.global-nav-links a:hover {
    background: #f1f5f9;
    border-color: #000000;
}

.global-nav-links a.active {
    background: var(--accent-yellow);
    border-color: #000000;
    box-shadow: 2px 2px 0px #000000;
}

.lang-switch {
    display: inline-flex;
    border: 2px solid #000000;
    box-shadow: 2px 2px 0px #000000;
    background: #ffffff;
    overflow: hidden;
    flex-shrink: 0;
}

.lang-btn {
    border: none;
    background: #ffffff;
    color: #000000;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    cursor: pointer;
    transition: background var(--transition-speed);
}

.lang-btn.active {
    background: #000000;
    color: #ffffff;
}

@media (min-width: 769px) {
    .global-site-nav-top {
        display: contents;
    }
}

@media (max-width: 768px) {
    :root {
        --global-nav-height: 74px;
    }
    .global-site-nav {
        flex-direction: column;
        align-items: stretch;
        padding: 0.35rem 0.6rem;
        gap: 0.35rem;
        height: auto;
        min-height: var(--global-nav-height);
        box-shadow: 0px 2px 0px #000000;
    }

    .global-site-nav-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .global-site-brand {
        font-size: 0.92rem;
    }

    .global-site-brand .brand-logo-icon {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }

    .global-nav-scroller {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-top: 1.5px dashed #cbd5e1;
        padding-top: 0.35rem;
    }

    .global-nav-scroller::-webkit-scrollbar {
        display: none;
    }

    .global-nav-links {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.25rem;
    }

    .global-nav-links a {
        display: flex;
        justify-content: center;
        padding: 0.35rem 0.15rem;
        font-size: 0.72rem;
        text-align: center;
        gap: 0.2rem;
    }

    .global-nav-links a i {
        font-size: 0.7rem;
    }
}

@media (max-width: 400px) {
    .global-nav-links a {
        font-size: 0.68rem;
        padding: 0.3rem 0.1rem;
    }
    .global-nav-links a i {
        display: none;
    }
}

/* ---------------------------------------------------------------------
   CONTENT PAGES (CULTURE, EVENTS, TRAVEL)
   --------------------------------------------------------------------- */
.content-page-body {
    background-color: var(--bg-main);
    color: var(--text-primary);
}

.content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: calc(var(--global-nav-height) + 1.25rem) 1.25rem 3rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: calc(var(--global-nav-height) + 0.85rem) 0.75rem 2rem 0.75rem;
        gap: 0.85rem;
    }
}

.hero-banner {
    background: #ffffff;
    border: var(--border-width) solid #000000;
    box-shadow: var(--shadow-hard);
    padding: 1.75rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-tag {
    display: inline-block;
    background: var(--accent-pink);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.55rem;
    border: 2px solid #000000;
    box-shadow: 2px 2px 0px #000000;
    margin-bottom: 0.65rem;
}

.hero-banner h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: #000000;
}

.hero-banner p {
    font-size: 1rem;
    color: #444444;
    max-width: 800px;
    line-height: 1.5;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.article-card {
    background: #ffffff;
    border: var(--border-width) solid #000000;
    box-shadow: var(--shadow-hard);
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform var(--transition-speed) ease;
}

.article-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px #000000;
}

.card-header-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.badge-pill {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.18rem 0.45rem;
    border: 2px solid #000000;
    text-transform: uppercase;
}

.badge-yellow { background: var(--accent-yellow); color: #000000; }
.badge-pink { background: var(--accent-pink); color: #ffffff; }
.badge-blue { background: var(--accent-blue); color: #ffffff; }
.badge-cyan { background: var(--accent-cyan); color: #000000; }
.badge-green { background: var(--accent-green); color: #000000; }

.article-card h2, .article-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
}

.article-card p {
    font-size: 0.92rem;
    color: #333333;
    line-height: 1.5;
}

.card-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.card-feature-list li {
    font-size: 0.88rem;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.card-feature-list li i {
    color: #000000;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.cta-box {
    margin-top: auto;
    padding-top: 0.7rem;
    border-top: 2px dashed #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.action-link {
    font-weight: 800;
    color: #000000;
    text-decoration: none;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.action-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .content-page-body {
        padding: 0.5rem 0.55rem;
    }

    .content-wrapper {
        gap: 0.75rem;
        padding-bottom: 2rem;
    }

    .hero-banner {
        padding: 1rem 0.85rem;
        box-shadow: var(--shadow-hard-sm);
    }

    .hero-banner h1 {
        font-size: 1.3rem;
        line-height: 1.25;
        margin-bottom: 0.4rem;
    }

    .hero-banner p {
        font-size: 0.84rem;
        line-height: 1.45;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .article-card {
        padding: 0.95rem 0.85rem;
        box-shadow: var(--shadow-hard-sm);
        gap: 0.55rem;
    }

    .article-card:hover {
        transform: none;
        box-shadow: var(--shadow-hard-sm);
    }

    .article-card h2, .article-card h3 {
        font-size: 1.05rem;
    }

    .article-card p {
        font-size: 0.84rem;
        line-height: 1.4;
    }

    .card-feature-list li {
        font-size: 0.8rem;
    }

    .cta-box {
        padding-top: 0.5rem;
    }

    .action-link {
        font-size: 0.78rem;
    }
}

#flatpickr-hidden-input {
    position: absolute !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    pointer-events: none !important;
    clip-path: inset(50%) !important;
}


/* ---------------------------------------------------------------------
   DAFTAR DONATUR & DANA PUNIA (MANUAL LIST VIA DONATUR.MD)
   --------------------------------------------------------------------- */
.sidebar-leaderboard-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    padding: 0.45rem 0.55rem;
    background: var(--accent-yellow);
    border: var(--border-width-sm) solid #000000;
    box-shadow: 2px 2px 0px #000000;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #000000;
    text-decoration: none;
    margin-bottom: 0.45rem;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.sidebar-leaderboard-banner:hover {
    background: #fde047;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0px #000000;
}

.donatur-page-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.donatur-hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    background: #ffffff;
    border: var(--border-width) solid #000000;
    box-shadow: var(--shadow-hard);
    padding: 1.25rem 1.5rem;
}

.donatur-hero-title {
    font-size: 1.25rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.donatur-hero-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 0.35rem;
    max-width: 680px;
    line-height: 1.45;
}

.donatur-quick-stats {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.donatur-stat-pill {
    background: #fafafa;
    border: var(--border-width-sm) solid #000000;
    box-shadow: 2px 2px 0px #000000;
    padding: 0.5rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.stat-pill-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.stat-pill-value {
    font-size: 1.15rem;
    font-weight: 900;
    color: #000000;
}

.donatur-table-card {
    background: #ffffff;
    border: var(--border-width) solid #000000;
    box-shadow: var(--shadow-hard);
    padding: 0;
    overflow: hidden;
}

.donatur-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.donatur-table th {
    background: var(--accent-yellow);
    border-bottom: var(--border-width-sm) solid #000000;
    border-right: 1.5px solid #000000;
    padding: 0.65rem 0.85rem;
    text-align: left;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.74rem;
    letter-spacing: 0.2px;
}

.donatur-table th:last-child {
    border-right: none;
}

.donatur-table td {
    padding: 0.65rem 0.85rem;
    border-bottom: 1.5px solid #000000;
    border-right: 1.5px solid #000000;
    vertical-align: middle;
}

.donatur-table td:last-child {
    border-right: none;
}

.donatur-row:nth-child(even) {
    background: #fafafa;
}

.donatur-row:hover {
    background: #fef9c3;
}

.col-no {
    font-weight: 800;
    text-align: center;
}

.col-tgl {
    font-size: 0.76rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.col-jumlah {
    white-space: nowrap;
}

.col-pesan {
    color: var(--text-secondary);
    font-style: italic;
}

.donatur-table-footer {
    padding: 0.6rem 0.85rem;
    background: #f1f5f9;
    border-top: 1.5px solid #000000;
    font-size: 0.72rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.donatur-qris-card {
    background: #ffffff;
    border: var(--border-width) solid #000000;
    box-shadow: var(--shadow-hard);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.donatur-qris-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.donatur-qris-info {
    flex: 1;
    min-width: 250px;
}

.donatur-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.85rem;
    background: #ffffff;
    border-top: 1.5px solid #000000;
}

.btn-pagination {
    height: 30px;
    padding: 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.pagination-info {
    font-size: 0.75rem;
    font-weight: 800;
    color: #000000;
}

/* QRIS Image Styling */


.qris-image-sidebar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0px;
}

.qris-graphic-box {
    background: #ffffff;
    border: var(--border-width-sm) solid #000000;
    box-shadow: var(--shadow-hard-sm);
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.qris-image-donasi {
    width: 180px;
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #000000;
}
