/* Bunyan App Styles - RTL Professional */
:root {
    --bunyan-primary: #0f4c5c;
    --bunyan-accent: #e36414;
    --bunyan-sidebar: #102a43;
    --bunyan-bg: #f5f7fa;
}

body.bunyan-body {
    background: var(--bunyan-bg);
    font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif;
}

.bunyan-sidebar {
    width: 260px;
    min-height: 100vh;
    background: var(--bunyan-sidebar) !important;
    transition: margin 0.2s ease, width 0.2s ease;
    flex-shrink: 0;
}

.bunyan-sidebar.collapsed {
    margin-right: -260px;
}

.sidebar-brand {
    background: rgba(0, 0, 0, 0.15);
}

.sidebar-section {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.45);
    padding: 0.85rem 0.75rem 0.25rem;
}

.sidebar-nav .nav-link {
    border-radius: 0.4rem;
    margin-bottom: 2px;
    padding: 0.55rem 0.75rem;
    font-size: 0.92rem;
}

.sidebar-nav .nav-link:hover,
.sidebar-nav .nav-link.active {
    background: rgba(255, 255, 255, 0.12);
}

.sidebar-nav .nav-link i {
    width: 1.4rem;
    display: inline-block;
}

.stat-card {
    border: 0;
    border-radius: 0.75rem;
    box-shadow: 0 0.15rem 0.5rem rgba(16, 42, 67, 0.08);
}

.stat-card .stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.65rem;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(15, 76, 92, 0.92), rgba(16, 42, 67, 0.88)),
        radial-gradient(circle at top right, rgba(227, 100, 20, 0.25), transparent 50%);
    padding: 1.5rem;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.25);
}

.auth-brand {
    color: var(--bunyan-primary);
    font-weight: 700;
    font-size: 1.6rem;
}

.table thead th {
    white-space: nowrap;
    background: #eef2f6;
}

.badge-status-available { background: #198754; }
.badge-status-rented { background: #0d6efd; }
.badge-status-reserved { background: #fd7e14; }
.badge-status-maintenance { background: #6c757d; }
.badge-status-inactive { background: #adb5bd; color: #212529; }

@media (max-width: 991.98px) {
    .bunyan-sidebar {
        position: fixed;
        z-index: 1040;
        right: 0;
        top: 0;
        margin-right: -260px;
    }
    .bunyan-sidebar.show {
        margin-right: 0;
    }
}
