@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #f8fafc;
    --card-bg: rgba(255, 255, 255, 0.95);
    --primary-navy: #0f172a;
    --primary-slate: #1e293b;
    --fresh-emerald: #059669;
    --emerald-light: #10b981;
    --luxury-gold: #d97706;
    --gold-accent: #f59e0b;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    background-image: 
        radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(245, 158, 11, 0.04) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-dark);
    min-height: 100vh;
}

/* Navbar Gradient */
.navbar-custom {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #34d399 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-weight: 500;
    color: #94a3b8 !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}

/* Card Modern */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    border-top-left-radius: var(--radius-lg) !important;
    border-top-right-radius: var(--radius-lg) !important;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    padding: 1.2rem 1.5rem;
}

/* Header Cards Gradient */
.bg-gradient-navy { background: linear-gradient(135deg, #0f172a 0%, #334155 100%); color: #fff; }
.bg-gradient-emerald { background: linear-gradient(135deg, #059669 0%, #10b981 100%); color: #fff; }
.bg-gradient-gold { background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%); color: #fff; }

/* Stat Boxes */
.stat-card {
    border: none;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.stat-icon {
    position: absolute;
    right: 20px;
    bottom: 15px;
    font-size: 3.5rem;
    opacity: 0.15;
}

/* Forms */
.form-control, .form-select {
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--emerald-light);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

/* Custom Buttons */
.btn-emerald {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    transition: all 0.3s ease;
}

.btn-emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
    color: white;
}

.btn-gold {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 0.65rem 1.25rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
    transition: all 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
    color: white;
}

/* Custom Table */
.table-custom {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.table-custom th {
    background-color: #f1f5f9;
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.table-custom td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.925rem;
}

.table-custom tbody tr:hover {
    background-color: rgba(241, 245, 249, 0.6);
}

/* Custom Badges */
.badge-pill-custom {
    padding: 0.35em 0.8em;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 50rem;
    letter-spacing: 0.3px;
}
.badge-sewa { background: rgba(59, 130, 246, 0.12); color: #2563eb; border: 1px solid rgba(59, 130, 246, 0.2); }
.badge-gratis { background: rgba(16, 185, 129, 0.12); color: #059669; border: 1px solid rgba(16, 185, 129, 0.2); }
.badge-dipakai { background: rgba(239, 68, 68, 0.12); color: #dc2626; border: 1px solid rgba(239, 68, 68, 0.2); }
.badge-dikembalikan { background: rgba(16, 185, 129, 0.12); color: #059669; border: 1px solid rgba(16, 185, 129, 0.2); }

@media print {
    .no-print { display: none !important; }
    body { background: white !important; }
    .card { border: none !important; box-shadow: none !important; }
}
