/**
 * ============================================================
 * Project: InvitRAZ Demo Wedding Website - Fulan & Siti
 * Standard: RAZ Enterprise Standard
 * File: admin/css/RAZAdmin.css
 * Dibuat: 2026-11-03
 * Update: 2026-11-03 17:50 WIB (v2.6.6 - Perfect Mobile Responsiveness & Button Safety)
 * Deskripsi: Stylesheet terpadu Admin Console Fulan & Siti:
 *            - Layout responsif desktop & mobile
 *            - Nuansa elegan Royal Melayu Gold (#997949 & #D6B788)
 *            - Modern Card System, Badges, Tabs & Action Toolbars
 *            - Custom Modals (No native dialogs) & Interactive Toasts
 * ============================================================
 */

:root {
    --raz-gold-primary: #997949;
    --raz-gold-light: #D6B788;
    --raz-gold-dark: #7a5f36;
    --raz-gold-gradient: linear-gradient(135deg, #997949 0%, #D6B788 100%);
    --raz-bg-body: #f8f6f0;
    --raz-bg-card: #ffffff;
    --raz-border: rgba(153, 121, 73, 0.22);
    --raz-text-dark: #23201c;
    --raz-text-muted: #6e675f;
    --raz-danger: #e63946;
    --raz-danger-dark: #c92a37;
    --raz-success: #2a9d8f;
    --raz-radius-lg: 16px;
    --raz-radius-md: 10px;
    --raz-shadow: 0 8px 24px rgba(153, 121, 73, 0.10);
    --raz-shadow-hover: 0 12px 32px rgba(153, 121, 73, 0.16);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--raz-bg-body);
    color: var(--raz-text-dark);
    line-height: 1.5;
    min-height: 100vh;
}

/* ============================================================
   1. PIN AUTHENTICATION / LOCK SCREEN
   ============================================================ */
.raz-auth-wrap {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at center, #fbf9f4 0%, #ece5d8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99999;
}

.raz-auth-card {
    background: var(--raz-bg-card);
    border: 1px solid var(--raz-border);
    border-radius: var(--raz-radius-lg);
    box-shadow: 0 20px 45px rgba(153, 121, 73, 0.18);
    width: 100%;
    max-width: 420px;
    padding: 35px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.raz-auth-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--raz-gold-gradient);
}

.raz-auth-icon {
    width: 64px;
    height: 64px;
    background: rgba(214, 183, 136, 0.2);
    border: 1px solid rgba(153, 121, 73, 0.3);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--raz-gold-primary);
    font-size: 26px;
    margin-bottom: 18px;
}

.raz-auth-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--raz-text-dark);
    margin-bottom: 6px;
}

.raz-auth-subtitle {
    font-size: 13.5px;
    color: var(--raz-text-muted);
    margin-bottom: 24px;
}

.raz-auth-input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #d9d2c5;
    border-radius: var(--raz-radius-md);
    font-size: 16px;
    letter-spacing: 2px;
    text-align: center;
    background: #fffdfa;
    transition: all 0.2s ease;
    margin-bottom: 18px;
}

.raz-auth-input:focus {
    outline: none;
    border-color: var(--raz-gold-primary);
    box-shadow: 0 0 0 3px rgba(153, 121, 73, 0.18);
}

.raz-btn-primary {
    background: var(--raz-gold-gradient);
    color: #ffffff;
    border: none;
    border-radius: var(--raz-radius-md);
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.raz-btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(153, 121, 73, 0.25);
}

/* ============================================================
   2. NAVBAR / HEADER
   ============================================================ */
.raz-admin-header {
    background: #ffffff;
    border-bottom: 1px solid var(--raz-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.raz-header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.raz-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.raz-brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--raz-gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 10px rgba(153, 121, 73, 0.25);
}

.raz-brand-text h1 {
    font-size: 17px;
    font-weight: 700;
    color: var(--raz-text-dark);
    margin: 0;
    line-height: 1.2;
}

.raz-brand-text p {
    font-size: 11.5px;
    color: var(--raz-text-muted);
    margin: 0;
}

.raz-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.raz-btn-pill {
    padding: 7px 14px;
    border-radius: 30px;
    border: 1px solid var(--raz-border);
    background: #ffffff;
    color: var(--raz-text-dark);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.raz-btn-pill:hover {
    background: rgba(214, 183, 136, 0.15);
    border-color: var(--raz-gold-primary);
}

.raz-btn-pill.danger {
    color: var(--raz-danger);
    border-color: rgba(230, 57, 70, 0.3);
}

.raz-btn-pill.danger:hover {
    background: rgba(230, 57, 70, 0.08);
}

/* Tombol Aksi Konten / Card Actions (Standalone) */
.raz-btn-action {
    background: #ffffff;
    border: 1px solid var(--raz-gold-primary);
    color: var(--raz-gold-primary);
    padding: 10px 18px;
    border-radius: 25px !important;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    transition: all 0.2s ease;
    text-decoration: none;
    box-sizing: border-box;
    width: 100%;
}

.raz-btn-action:hover {
    background: var(--raz-gold-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(153, 121, 73, 0.2);
}

.raz-btn-action.primary {
    background: var(--raz-gold-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(153, 121, 73, 0.25);
}

.raz-btn-action.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(153, 121, 73, 0.35);
}

/* ============================================================
   3. TAB NAVIGATION
   ============================================================ */
.raz-tabs-nav {
    background: #ffffff;
    border-bottom: 1px solid var(--raz-border);
}

.raz-tabs-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.raz-tabs-container::-webkit-scrollbar {
    display: none;
}

.raz-tab-btn {
    padding: 13px 18px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--raz-text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.raz-tab-btn:hover {
    color: var(--raz-gold-primary);
}

.raz-tab-btn.active {
    color: var(--raz-gold-primary);
}

.raz-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--raz-gold-gradient);
    border-radius: 3px 3px 0 0;
}

.raz-badge-count {
    background: rgba(153, 121, 73, 0.15);
    color: var(--raz-gold-primary);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
}

/* ============================================================
   4. MAIN CONTENT AREA
   ============================================================ */
.raz-admin-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

.raz-tab-pane {
    display: none;
}

.raz-tab-pane.active {
    display: block;
    animation: fadeIn 0.25s ease-out;
}

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

/* Stat Grid */
.raz-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.raz-stat-card {
    background: var(--raz-bg-card);
    border: 1px solid var(--raz-border);
    border-radius: var(--raz-radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--raz-shadow);
    transition: transform 0.2s ease;
}

.raz-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--raz-shadow-hover);
}

.raz-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(214, 183, 136, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--raz-gold-primary);
}

.raz-stat-info h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--raz-text-muted);
    margin-bottom: 4px;
}

.raz-stat-info .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--raz-text-dark);
}

/* Section Box */
.raz-card-box {
    background: var(--raz-bg-card);
    border: 1px solid var(--raz-border);
    border-radius: var(--raz-radius-lg);
    box-shadow: var(--raz-shadow);
    padding: 22px;
    margin-bottom: 24px;
}

.raz-box-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(153, 121, 73, 0.12);
}

.raz-box-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.raz-box-title h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--raz-text-dark);
}

/* Toolbar & Filters */
.raz-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.raz-search-wrap {
    position: relative;
    flex: 1;
    min-width: 240px;
    max-width: 360px;
}

.raz-search-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}

.raz-search-input {
    width: 100%;
    padding: 9px 12px 9px 36px;
    border: 1px solid #d9d2c5;
    border-radius: var(--raz-radius-md);
    font-size: 13.5px;
    background: #fffdfa;
    transition: all 0.2s ease;
}

.raz-search-input:focus {
    outline: none;
    border-color: var(--raz-gold-primary);
    box-shadow: 0 0 0 3px rgba(153, 121, 73, 0.12);
}

.raz-filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.raz-filter-btn {
    padding: 7px 12px;
    border-radius: 20px;
    border: 1px solid #e0d7c7;
    background: #faf8f5;
    color: var(--raz-text-muted);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.raz-filter-btn.active, .raz-filter-btn:hover {
    background: var(--raz-gold-primary);
    color: #ffffff;
    border-color: var(--raz-gold-primary);
}

/* Batch Toolbar */
.raz-batch-bar {
    background: rgba(214, 183, 136, 0.12);
    border: 1px solid rgba(153, 121, 73, 0.25);
    border-radius: var(--raz-radius-md);
    padding: 10px 14px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.raz-batch-bar.show {
    display: flex;
}

.raz-batch-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================================
   5. LIST ITEMS (WISHES / COMMENTS)
   ============================================================ */
.raz-wishes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.raz-wish-card {
    background: #ffffff;
    border: 1px solid #e8e2d5;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.raz-wish-card:hover {
    border-color: var(--raz-gold-primary);
    box-shadow: 0 4px 14px rgba(153, 121, 73, 0.08);
}

.raz-wish-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.raz-wish-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.raz-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--raz-gold-gradient);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.raz-user-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--raz-text-dark);
}

.raz-wish-meta {
    font-size: 12px;
    color: #8c8275;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.raz-badge-status {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
}

.raz-badge-status.hadir {
    background: rgba(42, 157, 143, 0.15);
    color: #1e7065;
}

.raz-badge-status.tidak_hadir {
    background: rgba(230, 57, 70, 0.12);
    color: #c92a37;
}

.raz-badge-status.ragu {
    background: rgba(244, 162, 97, 0.18);
    color: #b0621f;
}

.raz-wish-text {
    font-size: 14px;
    color: #3b3630;
    line-height: 1.6;
    background: #fbf9f5;
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 3px solid var(--raz-gold-primary);
}

.raz-wish-photo {
    max-width: 160px;
    max-height: 120px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e0d7c7;
    cursor: pointer;
}

.raz-wish-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    color: #7a7065;
    padding-top: 6px;
    border-top: 1px dashed #ede7dc;
}

.raz-wish-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Replies list inside wish */
.raz-replies-list {
    margin-left: 28px;
    padding-left: 14px;
    border-left: 2px solid rgba(153, 121, 73, 0.25);
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.raz-reply-card {
    background: #faf8f4;
    border: 1px solid #eae3d7;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ============================================================
   6. GALLERY & MOMENTS GRID
   ============================================================ */
.raz-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.raz-moment-card {
    background: #ffffff;
    border: 1px solid #e8e2d5;
    border-radius: var(--raz-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.raz-moment-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--raz-shadow-hover);
    border-color: var(--raz-gold-primary);
}

.raz-moment-media-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #111;
    overflow: hidden;
    cursor: pointer;
}

.raz-moment-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.raz-moment-media-wrap:hover .raz-moment-media {
    transform: scale(1.03);
}

.raz-media-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 4px;
}

.raz-moment-checkbox {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--raz-gold-primary);
    z-index: 2;
}

.raz-moment-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.raz-moment-author {
    font-size: 14px;
    font-weight: 700;
    color: var(--raz-text-dark);
}

.raz-moment-caption {
    font-size: 13px;
    color: #4a433c;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.raz-moment-meta {
    font-size: 11.5px;
    color: #8c8275;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f0eae0;
}

.raz-moment-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    padding: 10px 14px 14px;
    background: #faf8f5;
    border-top: 1px solid #f0eae0;
}

.raz-btn-sm {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #dfd8cc;
    background: #ffffff;
    font-size: 12px;
    font-weight: 600;
    color: var(--raz-text-dark);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.raz-btn-sm:hover {
    border-color: var(--raz-gold-primary);
    background: rgba(214, 183, 136, 0.15);
}

.raz-btn-sm.danger {
    color: var(--raz-danger);
    border-color: rgba(230, 57, 70, 0.3);
}

.raz-btn-sm.danger:hover {
    background: var(--raz-danger);
    color: #ffffff;
}

/* ============================================================
   7. FRAMES MANAGER GRID
   ============================================================ */
.raz-frames-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.raz-frame-card {
    background: #ffffff;
    border: 1px solid #e8e2d5;
    border-radius: var(--raz-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--raz-shadow);
    transition: transform 0.2s ease;
}

.raz-frame-card:hover {
    transform: translateY(-3px);
    border-color: var(--raz-gold-primary);
}

.raz-frame-preview-wrap {
    width: 100%;
    aspect-ratio: 9 / 16;
    max-height: 280px;
    background: repeating-conic-gradient(#eee 0% 25%, #fff 0% 50%) 50% / 16px 16px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
}

.raz-frame-preview-wrap.ratio-4-5 {
    aspect-ratio: 4 / 5;
}

.raz-frame-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}

.raz-frame-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--raz-gold-gradient);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.raz-frame-ratio-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.raz-frame-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.raz-frame-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--raz-text-dark);
}

.raz-frame-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px 14px;
    background: #faf8f5;
    border-top: 1px solid #f0eae0;
}

/* ============================================================
   8. CUSTOM MODALS (NO NATIVE ALERT / CONFIRM)
   ============================================================ */
.raz-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99990;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.raz-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.raz-modal-box {
    background: #ffffff;
    border: 1px solid var(--raz-border);
    border-radius: var(--raz-radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.2s ease;
}

.raz-modal-overlay.open .raz-modal-box {
    transform: scale(1);
}

.raz-modal-header {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(153, 121, 73, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.raz-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--raz-text-dark);
}

.raz-modal-close-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.raz-modal-close-btn:hover {
    color: #333;
}

.raz-modal-body {
    padding: 22px;
}

.raz-modal-footer {
    padding: 14px 22px 18px;
    border-top: 1px solid rgba(153, 121, 73, 0.12);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* Form Groups */
.raz-form-group {
    margin-bottom: 16px;
}

.raz-form-label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--raz-text-dark);
    margin-bottom: 6px;
}

.raz-form-input, .raz-form-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d9d2c5;
    border-radius: var(--raz-radius-md);
    font-size: 14px;
    background: #fffdfa;
    transition: all 0.2s ease;
}

.raz-form-input:focus, .raz-form-select:focus {
    outline: none;
    border-color: var(--raz-gold-primary);
    box-shadow: 0 0 0 3px rgba(153, 121, 73, 0.12);
}

.raz-file-drop {
    border: 2px dashed #d6cebe;
    border-radius: var(--raz-radius-md);
    padding: 24px;
    text-align: center;
    background: #faf8f5;
    cursor: pointer;
    transition: all 0.2s ease;
}

.raz-file-drop:hover {
    border-color: var(--raz-gold-primary);
    background: rgba(214, 183, 136, 0.1);
}

/* Modal Hazard Buttons */
.raz-btn-danger {
    background: var(--raz-danger);
    color: #ffffff;
    border: none;
    border-radius: var(--raz-radius-md);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.raz-btn-danger:hover {
    background: var(--raz-danger-dark);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.raz-btn-secondary {
    background: #ebe6dc;
    color: #4a433a;
    border: none;
    border-radius: var(--raz-radius-md);
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.raz-btn-secondary:hover {
    background: #dfd8cc;
}

/* ============================================================
   9. TOAST NOTIFICATIONS
   ============================================================ */
.raz-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #222222;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastSlideUp 0.25s ease-out;
}

.raz-toast.success {
    background: #1b4332;
    border-left: 4px solid #52b788;
}

.raz-toast.error {
    background: #590d22;
    border-left: 4px solid #ff4d6d;
}

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

/* Empty State */
.raz-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--raz-text-muted);
}

.raz-empty-state i {
    font-size: 38px;
    color: #d1c8b8;
    margin-bottom: 12px;
}

/* Mobile Responsiveness (Screen <= 768px) */
@media (max-width: 768px) {
    /* 1. Header Ringkas Ala Mobile Native */
    .raz-header-container {
        padding: 10px 14px;
        gap: 8px;
    }

    .raz-brand {
        gap: 9px;
        min-width: 0;
        flex: 1;
    }

    .raz-brand-logo {
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .raz-brand-text {
        min-width: 0;
        overflow: hidden;
    }

    .raz-brand-text h1 {
        font-size: 14.5px;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }

    .raz-brand-sub {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
        margin-top: 1px;
    }

    .raz-header-actions {
        gap: 6px;
        flex-shrink: 0;
    }

    .raz-header-actions .raz-btn-label {
        display: none !important;
    }

    .raz-header-actions .raz-btn-pill {
        width: 36px;
        height: 36px;
        padding: 0 !important;
        border-radius: 50% !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }

    .raz-btn-action {
        width: 100% !important;
        min-height: 44px !important;
        padding: 11px 16px !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        border-radius: 25px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: normal !important;
        line-height: 1.3 !important;
        box-sizing: border-box !important;
    }

    /* 2. Tab Navigation */
    .raz-tabs-container {
        padding: 0 12px;
        gap: 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .raz-tab-btn {
        padding: 11px 13px;
        font-size: 13px;
        gap: 5px;
        flex-shrink: 0;
    }

    .raz-badge-count {
        font-size: 10px;
        padding: 2px 6px;
    }

    /* 3. Main Container */
    .raz-admin-main {
        padding: 14px 12px 50px;
    }

    /* 4. Stat Grid & Cards: Vertical Stacking Tanpa Terpotong */
    .raz-stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 16px;
    }

    .raz-stat-card {
        padding: 13px 12px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
        gap: 6px;
        border-radius: 12px;
        min-height: 98px;
        box-shadow: 0 4px 12px rgba(153, 121, 73, 0.08);
        box-sizing: border-box;
    }

    .raz-stat-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        font-size: 13.5px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .raz-stat-info {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .raz-stat-info h3 {
        font-size: 10.5px;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1.25;
        color: var(--raz-text-muted);
        text-transform: uppercase;
        margin-bottom: 0;
        word-break: normal;
        white-space: normal;
    }

    .raz-stat-info .stat-value {
        font-size: 20px;
        font-weight: 800;
        color: var(--raz-text-dark);
        line-height: 1.1;
        margin-top: 2px;
    }

    /* 5. Section Box */
    .raz-card-box {
        padding: 15px 12px;
        border-radius: 12px;
        margin-bottom: 16px;
    }

    .raz-box-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .raz-box-title h2 {
        font-size: 15.5px;
    }

    /* 6. Toolbar & Filters */
    .raz-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 14px;
    }

    .raz-search-wrap {
        max-width: 100%;
        min-width: 0;
    }

    .raz-filter-group {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .raz-filter-group::-webkit-scrollbar {
        display: none;
    }

    .raz-filter-btn {
        white-space: nowrap;
        font-size: 12px;
        padding: 6px 11px;
        flex-shrink: 0;
    }

    /* 7. Gallery Grid & Cards */
    .raz-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .raz-moment-body {
        padding: 10px;
        gap: 5px;
    }

    .raz-moment-author {
        font-size: 13px;
    }

    .raz-moment-caption {
        font-size: 12px;
    }

    .raz-moment-actions {
        padding: 8px 10px 10px;
        gap: 4px;
    }

    .raz-moment-actions .raz-btn-sm {
        font-size: 10px;
        padding: 5px 3px;
        gap: 2px;
    }

    /* 8. Frames Grid */
    .raz-frames-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .raz-frame-preview-wrap {
        max-height: 180px;
        padding: 6px;
    }

    .raz-frame-info {
        padding: 10px;
    }

    .raz-frame-title {
        font-size: 13.5px;
    }

    .raz-frame-actions {
        padding: 8px 10px 10px;
        gap: 6px;
    }

    .raz-frame-actions .raz-btn-sm {
        font-size: 11px;
        padding: 6px 4px;
    }

    /* 9. Wishes List */
    .raz-wish-card {
        padding: 12px;
    }

    .raz-user-avatar {
        width: 34px;
        height: 34px;
        font-size: 13.5px;
    }

    .raz-user-name {
        font-size: 14px;
    }

    .raz-replies-list {
        margin-left: 14px;
        padding-left: 10px;
    }

    /* 10. Modals Responsiveness */
    .raz-modal-box {
        max-width: 95vw;
        border-radius: 14px;
    }

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

    .raz-modal-header h3 {
        font-size: 16px;
    }

    .raz-modal-body {
        padding: 16px;
    }

    .raz-modal-footer {
        padding: 12px 16px 14px;
    }
}
