/* 
 * E-Tempah Modern Theme - Orange Palette
 * A complete redesign with modern UI/UX principles
 */

:root {
    /* Primary Orange Theme Colors */
    --etempah-primary: #ff6b35;
    --etempah-primary-dark: #e85a28;
    --etempah-primary-light: #ff8c5a;
    --etempah-secondary: #ffa726;
    --etempah-accent: #ffb74d;
    
    /* Neutral Colors */
    --etempah-dark: #2c3e50;
    --etempah-darker: #1a252f;
    --etempah-light: #ecf0f1;
    --etempah-white: #ffffff;
    --etempah-gray: #95a5a6;
    --etempah-gray-light: #bdc3c7;
    
    /* Status Colors */
    --etempah-success: #27ae60;
    --etempah-warning: #f39c12;
    --etempah-danger: #e74c3c;
    --etempah-info: #3498db;
    
    /* Shadows & Effects */
    --etempah-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --etempah-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --etempah-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    --etempah-shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.2);
    
    /* Gradients */
    --etempah-gradient-primary: linear-gradient(135deg, #ff6b35 0%, #ffa726 100%);
    --etempah-gradient-dark: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --etempah-gradient-overlay: linear-gradient(135deg, rgba(255, 107, 53, 0.95), rgba(255, 167, 38, 0.95));
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #ecf0f1 100%);
    color: var(--etempah-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--etempah-light);
}

::-webkit-scrollbar-thumb {
    background: var(--etempah-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--etempah-primary-dark);
}

/* Header/Navbar Redesign */
.navbar.etempah-navbar {
    background: var(--etempah-gradient-primary) !important;
    box-shadow: var(--etempah-shadow-md);
    border: none;
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar.etempah-navbar .navbar-brand {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: var(--etempah-white) !important;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.navbar.etempah-navbar .navbar-brand:hover {
    transform: scale(1.05);
}

.navbar.etempah-navbar .navbar-brand i {
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.navbar.etempah-navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.navbar.etempah-navbar .nav-link:hover {
    color: var(--etempah-white) !important;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Sidebar Redesign */
.sidebar.etempah-sidebar {
    background: var(--etempah-gradient-dark) !important;
    box-shadow: var(--etempah-shadow-lg);
    border-right: 3px solid var(--etempah-primary);
    padding: 48px 0 0;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    width: 260px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar.etempah-sidebar .sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding: 1rem 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.sidebar.etempah-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    padding: 0.9rem 1.25rem;
    margin: 0.25rem 0.75rem;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.sidebar.etempah-sidebar .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--etempah-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sidebar.etempah-sidebar .nav-link:hover {
    color: var(--etempah-white) !important;
    background: rgba(255, 107, 53, 0.15);
    transform: translateX(8px);
    padding-left: 1.5rem;
}

.sidebar.etempah-sidebar .nav-link:hover::before {
    transform: scaleY(1);
}

.sidebar.etempah-sidebar .nav-link.active {
    background: var(--etempah-gradient-primary) !important;
    color: var(--etempah-white) !important;
    box-shadow: var(--etempah-shadow-md);
    font-weight: 600;
}

.sidebar.etempah-sidebar .nav-link.active::before {
    transform: scaleY(1);
}

.sidebar.etempah-sidebar .nav-link i {
    margin-right: 0.75rem;
    font-size: 1.2rem;
    width: 28px;
    text-align: center;
    transition: transform 0.3s ease;
}

.sidebar.etempah-sidebar .nav-link:hover i,
.sidebar.etempah-sidebar .nav-link.active i {
    transform: scale(1.2) rotate(5deg);
}

.sidebar.etempah-sidebar .sidebar-heading {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--etempah-gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 1.25rem 0.5rem;
    margin-top: 1rem;
}

/* Main Content Area */
main.etempah-main {
    padding-top: 2rem;
    padding-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Header */
.etempah-page-header {
    background: var(--etempah-white);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--etempah-shadow-sm);
    border-left: 5px solid var(--etempah-primary);
    position: relative;
    overflow: hidden;
}

.etempah-page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -5%;
    width: 200px;
    height: 200px;
    background: var(--etempah-gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
}

.etempah-page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--etempah-dark);
    margin: 0;
    display: flex;
    align-items: center;
}

.etempah-page-header h1 i {
    margin-right: 1rem;
    color: var(--etempah-primary);
    font-size: 2.5rem;
}

.etempah-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: stretch;
}

@media (max-width: 992px) {
    .etempah-hero-grid {
        grid-template-columns: 1fr;
    }
}

.etempah-hero-main {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.etempah-hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    color: var(--etempah-primary);
    font-weight: 700;
}

.etempah-hero-copy {
    color: var(--etempah-gray);
    max-width: 520px;
}

.etempah-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.hero-pill {
    background: var(--etempah-light);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-weight: 600;
    color: var(--etempah-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: var(--etempah-shadow-sm);
    font-size: 0.9rem;
}

.hero-pill-danger {
    background: rgba(231, 76, 60, 0.18);
    color: #c0392b;
}

.etempah-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin: 1rem 0;
}

.etempah-hero-mini-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-mini-stat {
    min-width: 160px;
    border: 1px dashed rgba(255, 107, 53, 0.3);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--etempah-shadow-sm);
}

.hero-mini-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--etempah-gray);
    letter-spacing: 0.5px;
}

.hero-mini-stat strong {
    font-size: 1.85rem;
    color: var(--etempah-dark);
}

.etempah-hero-side {
    border-radius: 1.25rem;
    border: 1px solid rgba(236, 240, 241, 0.8);
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(26, 37, 47, 0.05));
    box-shadow: var(--etempah-shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-side-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--etempah-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-side-card {
    background: var(--etempah-white);
    border-radius: 1.1rem;
    padding: 1.25rem;
    box-shadow: var(--etempah-shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.hero-side-card--empty {
    background: rgba(255, 255, 255, 0.65);
    border: 2px dashed rgba(255, 107, 53, 0.4);
    text-align: center;
    color: var(--etempah-gray);
}

.hero-side-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.hero-side-meta {
    color: var(--etempah-gray);
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.hero-side-badge {
    font-size: 0.85rem;
    text-transform: uppercase;
}

.hero-progress-wrapper {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 1.15rem;
    padding: 1rem 1.25rem;
    box-shadow: inset 0 0 0 1px rgba(255, 107, 53, 0.1);
}

.hero-progress-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-progress {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 107, 53, 0.15);
    overflow: hidden;
}

.hero-progress-bar {
    height: 100%;
    border-radius: inherit;
    background: var(--etempah-gradient-primary);
    transition: width 0.4s ease;
}

.hero-progress-wrapper small {
    display: block;
    margin-top: 0.5rem;
    color: var(--etempah-gray);
}

/* Dashboard Cards */
.etempah-card {
    background: var(--etempah-white);
    border: none;
    border-radius: 1.25rem;
    box-shadow: var(--etempah-shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.etempah-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--etempah-gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.etempah-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--etempah-shadow-xl);
}

.etempah-card:hover::before {
    transform: scaleX(1);
}

.etempah-card .card-body {
    padding: 2rem;
}

.etempah-card .card-header {
    background: var(--etempah-gradient-primary);
    color: var(--etempah-white);
    border: none;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 1rem 1rem 0 0;
}

.etempah-card .card-header h5 {
    margin: 0;
    font-weight: 600;
}

.etempah-card .card-header .btn-light {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.etempah-card .card-header .btn-light:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.etempah-card--table .card-header {
    background: var(--etempah-white);
    color: var(--etempah-dark);
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
    border-radius: 1.25rem 1.25rem 0 0;
}

.etempah-card--table .card-header h5 {
    color: var(--etempah-dark);
}

.etempah-card--table .card-header .card-subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: var(--etempah-gray);
}

.etempah-card--table .card-header .btn-light {
    background: var(--etempah-light);
    color: var(--etempah-dark);
}

.etempah-card--table .card-header .btn-outline-light {
    border-color: rgba(44, 62, 80, 0.15);
    color: var(--etempah-dark);
}

.etempah-card--table .card-header .btn-outline-light:hover {
    background: rgba(44, 62, 80, 0.05);
}

.card-header-actions .btn {
    border-radius: 999px;
}


/* Stat Cards */
.etempah-stat-card {
    background: var(--etempah-white);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: var(--etempah-shadow-md);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.etempah-stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--etempah-gradient-primary);
    opacity: 0.08;
    border-radius: 50%;
    transform: translate(50%, -50%);
    transition: all 0.4s ease;
}

.etempah-stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--etempah-shadow-xl);
    border-color: var(--etempah-primary);
}

.etempah-stat-card:hover::after {
    transform: translate(50%, -50%) scale(1.5);
}

.etempah-stat-card .stat-icon {
    font-size: 3.5rem;
    background: var(--etempah-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.etempah-stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.etempah-stat-card .stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--etempah-dark);
    margin: 0.5rem 0;
    line-height: 1;
}

.etempah-stat-card .stat-label {
    font-size: 1rem;
    color: var(--etempah-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.etempah-stat-card .stat-description {
    font-size: 0.875rem;
    color: var(--etempah-gray-light);
    margin-top: 0.5rem;
}

/* KPI Grid */
.etempah-analytics-row .etempah-kpi-card {
    height: 100%;
}

.etempah-kpi-card {
    background: var(--etempah-white);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: var(--etempah-shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.etempah-kpi-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.etempah-kpi-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--etempah-shadow-lg);
}

.kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--etempah-white);
}

.kpi-icon-primary {
    background: var(--etempah-gradient-primary);
}

.kpi-icon-info {
    background: linear-gradient(135deg, #2980b9, #6dd5fa);
}

.kpi-icon-success {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.kpi-icon-warning {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
}

.kpi-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: var(--etempah-gray);
    font-weight: 600;
}

.kpi-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--etempah-dark);
    line-height: 1.2;
}

.kpi-meta {
    font-size: 0.9rem;
    color: var(--etempah-gray);
}

.kpi-progress {
    height: 6px;
    border-radius: 999px;
    background: rgba(236, 240, 241, 0.7);
    overflow: hidden;
    margin: 0.35rem 0 0.6rem;
}

.kpi-progress-bar {
    height: 100%;
    border-radius: inherit;
    background: var(--etempah-gradient-primary);
    transition: width 0.4s ease;
}

.kpi-progress-bar-success {
    background: linear-gradient(135deg, #1abc9c, #2ecc71);
}

/* Buttons */
.btn-etempah-primary {
    background: var(--etempah-gradient-primary);
    border: none;
    color: var(--etempah-white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--etempah-shadow-sm);
    position: relative;
    overflow: hidden;
}

.btn-etempah-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-etempah-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-etempah-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--etempah-shadow-lg);
    color: var(--etempah-white);
}

.btn-etempah-primary:active {
    transform: translateY(-1px);
}

.btn-etempah-outline {
    background: transparent;
    border: 2px solid var(--etempah-primary);
    color: var(--etempah-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-etempah-outline:hover {
    background: var(--etempah-gradient-primary);
    border-color: transparent;
    color: var(--etempah-white);
    transform: translateY(-3px);
    box-shadow: var(--etempah-shadow-md);
}

/* Tables */
.etempah-table {
    background: var(--etempah-white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--etempah-shadow-sm);
}

.etempah-table table {
    margin-bottom: 0;
}

.etempah-table thead th {
    background: var(--etempah-gradient-primary);
    color: var(--etempah-white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    padding: 1.25rem 1rem;
    border: none;
}

.etempah-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.etempah-table tbody tr:hover {
    background: rgba(255, 107, 53, 0.05);
    transform: scale(1.01);
}

.etempah-table tbody td {
    padding: 1.25rem 1rem;
    vertical-align: middle;
    border: none;
}

/* Enhanced Bookings Table */
.etempah-bookings-table {
    width: 100%;
    margin: 0;
}

.etempah-bookings-table thead {
    background: var(--etempah-gradient-primary);
}

.etempah-bookings-table thead th {
    background: transparent;
    color: var(--etempah-white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 1rem 1rem;
    border: none;
    white-space: nowrap;
}

.etempah-bookings-table tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.etempah-bookings-table tbody tr:last-child {
    border-bottom: none;
}

.etempah-bookings-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.05), rgba(255, 167, 38, 0.05));
    box-shadow: inset 4px 0 0 var(--etempah-primary);
}

.etempah-bookings-table tbody td {
    padding: 1.2rem 1rem;
    vertical-align: middle;
    border: none;
    color: var(--etempah-dark);
    font-size: 0.9rem;
}

.etempah-bookings-table tbody td strong {
    color: var(--etempah-primary);
    font-weight: 700;
}

.etempah-bookings-table tbody td small {
    font-size: 0.75rem;
    color: #888;
}

.etempah-bookings-table .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.empty-state-content {
    max-width: 360px;
    margin: 0 auto;
    text-align: center;
}

.empty-state-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--etempah-primary);
}

.booking-id {
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.booking-date strong {
    display: block;
}

.booking-date small {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-chip {
    display: inline-flex;
    flex-direction: column;
    gap: 0.35rem;
}

.asset-progress {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.asset-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35, #ffa726);
    border-radius: inherit;
}

.recent-bookings-body {
    padding: 1.75rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.recent-bookings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-booking-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: var(--etempah-white);
    border: 1px solid rgba(44, 62, 80, 0.06);
    box-shadow: var(--etempah-shadow-sm);
    position: relative;
}

.recent-booking-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px dashed transparent;
    pointer-events: none;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.recent-booking-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--etempah-shadow-lg);
}

.recent-booking-card:hover::after {
    border-color: rgba(255, 107, 53, 0.35);
}

.recent-booking-card--approved {
    border-left: 6px solid var(--etempah-success);
}

.recent-booking-card--pending {
    border-left: 6px solid var(--etempah-warning);
}

.recent-booking-card--ketua-approved {
    border-left: 6px solid var(--etempah-info);
}

.recent-booking-card--rejected,
.recent-booking-card--cancelled {
    border-left: 6px solid var(--etempah-danger);
}

.recent-booking-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.1), rgba(255, 167, 38, 0.1));
    border-radius: 1rem;
    padding: 1rem 0.5rem;
    text-align: center;
    min-height: 100%;
}

.timeline-day {
    font-weight: 700;
    color: var(--etempah-primary);
    letter-spacing: 1px;
}

.timeline-date {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--etempah-dark);
    line-height: 1;
}

.timeline-year {
    color: var(--etempah-gray);
    font-size: 0.85rem;
}

.recent-booking-main {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.recent-booking-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.recent-booking-resource {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--etempah-dark);
}

.recent-booking-title {
    font-size: 0.95rem;
}

.recent-booking-time {
    font-weight: 600;
    color: var(--etempah-primary);
    min-width: 180px;
}

.recent-booking-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-end;
}

.recent-booking-status {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.recent-booking-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-soft-warning,
.btn-soft-primary {
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    padding: 0.45rem 0.95rem;
    min-width: 110px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-soft-warning {
    background: rgba(255, 167, 38, 0.15);
    color: var(--etempah-warning);
}

.btn-soft-primary {
    background: rgba(52, 152, 219, 0.12);
    color: var(--etempah-info);
}

.btn-soft-warning:hover,
.btn-soft-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--etempah-shadow-sm);
}

@media (max-width: 992px) {
    .recent-booking-card {
        grid-template-columns: 1fr;
    }

    .recent-booking-timeline {
        flex-direction: row;
        gap: 1rem;
        justify-content: flex-start;
    }

    .recent-booking-time {
        text-align: left;
        min-width: unset;
    }

    .recent-booking-actions {
        justify-content: flex-start;
    }
}

.etempah-card--summary .card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 1rem;
    padding: 0.85rem 1.1rem;
    box-shadow: inset 0 0 0 1px rgba(236, 240, 241, 0.8);
}

.summary-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--etempah-gray);
    margin-bottom: 0.1rem;
}

.summary-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--etempah-dark);
}

.summary-divider {
    height: 1px;
    width: 100%;
    background: rgba(0, 0, 0, 0.08);
    margin: 0.5rem 0;
}

.summary-section h6 {
    font-weight: 700;
}

.summary-app-list {
    margin: 0 0 1rem;
    padding: 0;
}

.summary-app-list li {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.summary-app-list li:last-child {
    border-bottom: none;
}

.summary-app-pill {
    background: rgba(255, 167, 38, 0.15);
    color: #c97b0a;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

.summary-section .btn {
    border-radius: 0.85rem;
}

.etempah-support-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 167, 38, 0.08));
    border-radius: 1.1rem;
    padding: 1.25rem;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

.etempah-support-box h6 {
    font-weight: 700;
}

.activity-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--etempah-primary);
    margin-right: 0.75rem;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
}

.etempah-activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.announcement-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--etempah-shadow-sm);
}

.announcement-badge {
    display: inline-flex;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 107, 53, 0.12);
    color: var(--etempah-primary);
    font-weight: 700;
}

.announcement-list {
    margin: 1rem 0;
    padding-left: 0;
}

.announcement-list li {
    list-style: none;
    display: flex;
    align-items: center;
    color: var(--etempah-gray);
    margin-bottom: 0.5rem;
}

.announcement-list li i {
    color: var(--etempah-primary);
}

.etempah-bookings-table .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.etempah-bookings-table .btn-primary {
    background: var(--etempah-gradient-primary);
    border: none;
}

.etempah-bookings-table .btn-warning {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    border: none;
    color: white;
}

/* Empty State */
.empty-state-content {
    padding: 3rem 2rem;
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Table */
@media (max-width: 768px) {
    .etempah-bookings-table {
        font-size: 0.85rem;
    }
    
    .etempah-bookings-table thead th {
        padding: 0.75rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .etempah-bookings-table tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .etempah-bookings-table .btn {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

.table-responsive {
    border-radius: 0 0 1rem 1rem;
}


/* Badges */
.badge-etempah {
    padding: 0.5rem 1rem;
    border-radius: 50rem;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.3px;
}

.badge-etempah-pending {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
    color: var(--etempah-white);
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.badge-etempah-approved {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: var(--etempah-white);
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.badge-etempah-rejected {
    background: linear-gradient(135deg, #e74c3c, #ec7063);
    color: var(--etempah-white);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.badge-etempah-info {
    background: linear-gradient(135deg, #3498db, #5dade2);
    color: var(--etempah-white);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.badge-etempah-cancelled {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: #ffffff;
    border: 1px solid rgba(55, 65, 81, 0.1);
    box-shadow: 0 2px 8px rgba(149, 165, 166, 0.25);
}

.badge-etempah-dibatalkan {
    background: linear-gradient(135deg, #8e3232, #c0392b);
    color: #fff !important;
    border: 1px solid rgba(192, 57, 43, 0.35);
    box-shadow: 0 2px 8px rgba(192, 57, 43, 0.35);
}

.status-cancelled {
    color: #6c757d;
    font-weight: 500;
}

.badge {
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 50rem;
    letter-spacing: 0.3px;
}


/* Alerts */
.alert-etempah {
    border: none;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    box-shadow: var(--etempah-shadow-sm);
    border-left: 5px solid;
}

.alert-etempah-info {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(93, 173, 226, 0.1));
    border-left-color: var(--etempah-info);
    color: #2980b9;
}

.alert-etempah-warning {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(241, 196, 15, 0.1));
    border-left-color: var(--etempah-warning);
    color: #d68910;
}

.alert-etempah-success {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(46, 204, 113, 0.1));
    border-left-color: var(--etempah-success);
    color: #1e8449;
}

/* Forms */
.form-control-etempah {
    border: 2px solid var(--etempah-light);
    border-radius: 0.75rem;
    padding: 0.85rem 1.25rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control-etempah:focus {
    border-color: var(--etempah-primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
    outline: none;
}

.form-label-etempah {
    font-weight: 600;
    color: var(--etempah-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Quick Action Cards */
.etempah-quick-action {
    background: var(--etempah-white);
    border: 2px solid transparent;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.etempah-quick-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--etempah-gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.etempah-quick-action:hover {
    border-color: var(--etempah-primary);
    transform: translateY(-10px);
    box-shadow: var(--etempah-shadow-lg);
}

.etempah-quick-action:hover::before {
    opacity: 0.05;
}

.etempah-quick-action i {
    font-size: 3rem;
    background: var(--etempah-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: block;
    transition: transform 0.4s ease;
}

.etempah-quick-action:hover i {
    transform: scale(1.2) rotate(10deg);
}

.etempah-quick-action .action-title {
    font-weight: 600;
    color: var(--etempah-dark);
    font-size: 1.1rem;
    position: relative;
}

/* Activity Feed */
.etempah-activity-item {
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: var(--etempah-white);
    border-radius: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--etempah-shadow-sm);
}

.etempah-activity-item::before {
    display: none;
}

.etempah-activity-item:hover {
    transform: translateX(6px);
    box-shadow: var(--etempah-shadow-md);
}

/* Footer */
.etempah-footer {
    background: var(--etempah-white);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 3px solid var(--etempah-primary);
    box-shadow: var(--etempah-shadow-sm);
}

.etempah-footer p {
    margin: 0;
    color: var(--etempah-gray);
    font-size: 0.95rem;
}

/* Loading Spinner */
.etempah-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--etempah-light);
    border-top: 5px solid var(--etempah-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar.etempah-sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.etempah-sidebar.show {
        transform: translateX(0);
    }
    
    .etempah-page-header h1 {
        font-size: 1.5rem;
    }
    
    .etempah-stat-card .stat-value {
        font-size: 2.5rem;
    }
    
    .etempah-stat-card .stat-icon {
        font-size: 2.5rem;
    }

    .etempah-hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .etempah-hero-side {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero-mini-stat {
        width: 100%;
    }
}

/* Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Utility Classes */
.text-etempah-primary {
    color: var(--etempah-primary) !important;
}

.bg-etempah-primary {
    background: var(--etempah-gradient-primary) !important;
}

.bg-etempah-light {
    background: var(--etempah-light) !important;
}

.shadow-etempah {
    box-shadow: var(--etempah-shadow-md) !important;
}

.rounded-etempah {
    border-radius: 1.25rem !important;
}
