/* Modern Admin Dashboard Styles */
/* Enhanced styling for the Perunika admin portal */

:root {
    /* Admin-specific color palette */
    --admin-primary: #6366f1;
    --admin-primary-dark: #4f46e5;
    --admin-secondary: #10b981;
    --admin-accent: #f59e0b;
    --admin-danger: #ef4444;
    --admin-warning: #f59e0b;
    --admin-info: #3b82f6;
    --admin-success: #10b981;
    
    /* Admin layout colors — dark theme */
    --admin-sidebar-bg: #0f172a;
    --admin-sidebar-hover: #1e293b;
    --admin-sidebar-text: #cbd5e1;
    --admin-sidebar-active: #6366f1;
    --admin-topbar-bg: #0f172a;
    --admin-content-bg: #0f172a;
    --admin-card-bg: rgba(30, 41, 59, 0.6);
    --admin-card-border: rgba(255, 255, 255, 0.06);
    --admin-text: #e2e8f0;
    --admin-text-muted: #94a3b8;
    --admin-text-dim: #64748b;
    
    /* Spacing and dimensions */
    --admin-sidebar-width: 260px;
    --admin-topbar-height: 64px;
    --admin-border-radius: 12px;
    --admin-border-radius-lg: 16px;
    
    /* Shadows */
    --admin-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --admin-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
    --admin-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.3);
    --admin-shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.3);
    
    /* Transitions */
    --admin-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Admin Layout Container */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background-color: var(--admin-content-bg);
}

/* Modern Sidebar Styles */
#sidebar {
    width: var(--admin-sidebar-width);
    background: linear-gradient(180deg, #0c1222 0%, #111827 100%);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    overflow-y: auto;
    transition: var(--admin-transition);
}

#sidebar::-webkit-scrollbar {
    width: 6px;
}

#sidebar::-webkit-scrollbar-track {
    background: transparent;
}

#sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

#sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Logo Section */
.logo-nav-item {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.logo-nav-item .navbar-brand {
    color: white !important;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
}

.logo-nav-item img {
    max-width: 100%;
    height: auto;
    filter: brightness(1.1);
}

/* Sidebar Brand */
.sidebar-brand {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
}

.sidebar-brand-link img.admin-logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
}

.sidebar-brand-text {
    display: flex;
    flex-direction: column;
}

.sidebar-brand-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.sidebar-brand-tag {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

.sidebar-footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.sidebar-footer-link:hover {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.08);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Navigation List */
.nav.nav-pills {
    padding: 1rem 0;
}

.nav-item {
    margin: 0.25rem 1rem;
}

/* Navigation Links */
.nav-link {
    color: var(--admin-sidebar-text) !important;
    padding: 0.875rem 1rem;
    border-radius: var(--admin-border-radius);
    transition: var(--admin-transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    text-decoration: none;
}

.nav-link:hover {
    background-color: var(--admin-sidebar-hover);
    color: white !important;
    transform: translateX(4px);
}

.nav-link:focus {
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.5);
    outline: none;
}

.nav-link.active {
    background: linear-gradient(135deg, var(--admin-sidebar-active), #6366f1);
    color: white !important;
    box-shadow: var(--admin-shadow-md);
}

.nav-link span {
    font-size: 1.125rem;
    width: 20px;
    text-align: center;
}

/* Logout Button Special Styling */
.nav-link button {
    color: inherit;
    background: transparent;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.nav-item:last-child .nav-link {
    background: linear-gradient(135deg, var(--admin-danger), #dc2626);
    margin-top: 1rem;
}

.nav-item:last-child .nav-link:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateX(4px);
}

/* Main Content Area */
.right-column {
    margin-left: var(--admin-sidebar-width);
    width: calc(100% - var(--admin-sidebar-width));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Top Header Bar */
.admin-topbar {
    background: var(--admin-topbar-bg);
    height: var(--admin-topbar-height);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--admin-shadow-sm);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 999;
}

.admin-topbar h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--admin-sidebar-bg);
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--admin-sidebar-bg);
}

.admin-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--admin-primary), #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 1.75rem 2rem;
    background: var(--admin-content-bg);
    min-height: calc(100vh - var(--admin-topbar-height));
}

/* Admin Cards */
.admin-card {
    background: var(--admin-card-bg);
    border-radius: var(--admin-border-radius-lg);
    box-shadow: var(--admin-shadow-sm);
    border: 1px solid var(--admin-card-border);
    transition: var(--admin-transition);
    backdrop-filter: blur(12px);
}

.admin-card:hover {
    box-shadow: var(--admin-shadow-md);
    border-color: rgba(255, 255, 255, 0.1);
}

.admin-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--admin-card-border);
    background: rgba(255, 255, 255, 0.02);
}

.admin-card-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: #e2e8f0;
}

.admin-card-body {
    padding: 1.5rem;
}

/* Admin Buttons */
.admin-btn {
    padding: 0.625rem 1.25rem;
    border-radius: var(--admin-border-radius);
    font-weight: 500;
    transition: var(--admin-transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
}

.admin-btn-primary {
    background: linear-gradient(135deg, var(--admin-primary), #6366f1);
    color: white;
    box-shadow: var(--admin-shadow-sm);
}

.admin-btn-primary:hover {
    background: linear-gradient(135deg, var(--admin-primary-dark), #4338ca);
    box-shadow: var(--admin-shadow-md);
    transform: translateY(-1px);
}

.admin-btn-secondary {
    background: linear-gradient(135deg, var(--admin-secondary), #059669);
    color: white;
    box-shadow: var(--admin-shadow-sm);
}

.admin-btn-secondary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: var(--admin-shadow-md);
    transform: translateY(-1px);
}

.admin-btn-danger {
    background: linear-gradient(135deg, var(--admin-danger), #dc2626);
    color: white;
    box-shadow: var(--admin-shadow-sm);
}

.admin-btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: var(--admin-shadow-md);
    transform: translateY(-1px);
}

/* Admin Tables */
.admin-table {
    background: var(--admin-card-bg);
    border-radius: var(--admin-border-radius-lg);
    overflow: hidden;
    box-shadow: var(--admin-shadow-sm);
    border: 1px solid var(--admin-card-border);
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: #cbd5e1;
}

.admin-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Admin Forms */
.admin-form-group {
    margin-bottom: 1.5rem;
}

.admin-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #cbd5e1;
}

.admin-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--admin-border-radius);
    transition: var(--admin-transition);
    background: rgba(15, 23, 42, 0.6);
    color: #e2e8f0;
}

.admin-input:focus {
    outline: none;
    border-color: var(--admin-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background: rgba(15, 23, 42, 0.8);
}

/* Stats Cards */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.admin-stat-card {
    background: var(--admin-card-bg);
    border-radius: var(--admin-border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--admin-shadow-sm);
    border: 1px solid var(--admin-card-border);
    transition: var(--admin-transition);
    backdrop-filter: blur(12px);
}

.admin-stat-card:hover {
    box-shadow: var(--admin-shadow-md);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
}

.admin-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--admin-border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.admin-stat-icon.primary {
    background: linear-gradient(135deg, var(--admin-primary), #6366f1);
}

.admin-stat-icon.secondary {
    background: linear-gradient(135deg, var(--admin-secondary), #059669);
}

.admin-stat-icon.warning {
    background: linear-gradient(135deg, var(--admin-warning), #d97706);
}

.admin-stat-icon.danger {
    background: linear-gradient(135deg, var(--admin-danger), #dc2626);
}

.admin-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.admin-stat-label {
    color: #94a3b8;
    font-size: 0.875rem;
    margin: 0;
}

/* Focus indicators */
.nav-link:focus-visible,
.admin-btn:focus-visible,
.admin-input:focus-visible {
    outline: 2px solid var(--admin-primary);
    outline-offset: 2px;
}

/* Room Management Styles */
.rooms-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.room-stat-card {
    background: var(--admin-card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--admin-shadow-sm);
    border: 1px solid var(--admin-card-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.room-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--admin-shadow-lg);
    border-color: rgba(255, 255, 255, 0.1);
}

.room-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
}

.room-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.room-stat-icon.primary { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.room-stat-icon.secondary { background: linear-gradient(135deg, #10b981, #059669); }
.room-stat-icon.warning { background: linear-gradient(135deg, #f59e0b, #d97706); }
.room-stat-icon.info { background: linear-gradient(135deg, #3b82f6, #2563eb); }

.room-stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: #fff;
}

.room-stat-content p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-progress {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-top: 1rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-bar.secondary { background: linear-gradient(90deg, #10b981, #059669); }
.progress-bar.warning { background: linear-gradient(90deg, #f59e0b, #d97706); }

.stat-trend {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    color: #10b981;
}

.room-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-weight: 600;
    color: #cbd5e1;
    font-size: 0.875rem;
}

.filter-select, .filter-input {
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    background: rgba(15, 23, 42, 0.6);
    color: #e2e8f0;
}

.filter-select:focus, .filter-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.room-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.room-thumbnail {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

.room-thumbnail-placeholder {
    width: 60px;
    height: 45px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1.25rem;
}

.room-details {
    flex: 1;
}

.room-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #e2e8f0;
}

.room-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.room-type-badge {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.price-display {
    text-align: center;
}

.price-amount {
    font-size: 1.125rem;
    font-weight: 700;
    color: #059669;
    display: block;
}

.price-period {
    color: #6b7280;
    font-size: 0.75rem;
}

.guest-capacity {
    background: #f3f4f6;
    color: #374151;
    padding: 0.5rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.room-status-badge {
    padding: 0.5rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.room-status-badge.available {
    background: #d1fae5;
    color: #065f46;
}

.room-status-badge.occupied {
    background: #fee2e2;
    color: #991b1b;
}

.smoking-badge {
    padding: 0.5rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.smoking-badge.allowed {
    background: #fef3c7;
    color: #92400e;
}

.smoking-badge.not-allowed {
    background: #e0e7ff;
    color: #3730a3;
}

.action-btn.status { 
    background: linear-gradient(135deg, #8b5cf6, #7c3aed); 
}

/* Room Management Enhanced Styles */
.room-compact-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.room-visual {
    flex-shrink: 0;
}

.room-thumbnail-small {
    width: 40px;
    height: 30px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.room-thumbnail-small-placeholder {
    width: 40px;
    height: 30px;
    background: #f3f4f6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 0.875rem;
    border: 1px solid #e5e7eb;
}

.room-compact-details {
    flex: 1;
    min-width: 0;
}

.room-name-compact {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 0.125rem 0;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.room-id-compact {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.room-description-compact {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 200px;
}

/* Enhanced Action Buttons */
.action-buttons-enhanced {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    min-width: 100px;
}

.action-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    min-width: 85px;
    text-align: left;
}

.action-btn-large i {
    font-size: 0.875rem;
    width: 14px;
    text-align: center;
}

.btn-text {
    font-size: 0.75rem;
    font-weight: 500;
}

.action-btn-large.edit { 
    background: linear-gradient(135deg, #3b82f6, #2563eb); 
}

.action-btn-large.edit:hover { 
    background: linear-gradient(135deg, #2563eb, #1d4ed8); 
    transform: translateX(2px);
}

.action-btn-large.view { 
    background: linear-gradient(135deg, #10b981, #059669); 
}

.action-btn-large.view:hover { 
    background: linear-gradient(135deg, #059669, #047857); 
    transform: translateX(2px);
}

.action-btn-large.status { 
    background: linear-gradient(135deg, #8b5cf6, #7c3aed); 
}

.action-btn-large.status:hover { 
    background: linear-gradient(135deg, #7c3aed, #6d28d9); 
    transform: translateX(2px);
}

.action-btn-large.delete { 
    background: linear-gradient(135deg, #ef4444, #dc2626); 
}

.action-btn-large.delete:hover { 
    background: linear-gradient(135deg, #dc2626, #b91c1c); 
    transform: translateX(2px);
}

.action-btn-large.like { 
    background: linear-gradient(135deg, #ec4899, #db2777); 
}

.action-btn-large.like:hover { 
    background: linear-gradient(135deg, #db2777, #be185d); 
    transform: translateX(2px);
}

.action-btn-large:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: white;
}

/* Admin Tables */
.admin-table {
    background: white;
    border-radius: var(--admin-border-radius-lg);
    overflow: hidden;
    box-shadow: var(--admin-shadow-sm);
    border: 1px solid #e5e7eb;
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: var(--admin-sidebar-bg);
    border-bottom: 2px solid #e5e7eb;
}

.admin-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.admin-table tbody tr:hover {
    background-color: #f8fafc;
}

/* Blog Management Styles */
.blog-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.blog-stat-card {
    background: var(--admin-card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--admin-shadow-sm);
    border: 1px solid var(--admin-card-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.blog-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--admin-shadow-lg);
    border-color: rgba(255, 255, 255, 0.1);
}

.blog-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #6366f1);
}

.blog-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-stat-icon.primary { background: linear-gradient(135deg, #4f46e5, #6366f1); }
.blog-stat-icon.secondary { background: linear-gradient(135deg, #10b981, #059669); }
.blog-stat-icon.warning { background: linear-gradient(135deg, #f59e0b, #d97706); }
.blog-stat-icon.info { background: linear-gradient(135deg, #ec4899, #db2777); }

.blog-stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: #fff;
}

.blog-stat-content p {
    color: #94a3b8;
    margin: 0 0 0.25rem 0;
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-subtitle {
    color: #9ca3af;
    font-size: 0.75rem;
    font-style: italic;
}

.blog-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

/* Blog Post Info Layout */
.blog-post-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 100%;
}

.blog-visual {
    flex-shrink: 0;
}

.blog-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

.blog-thumbnail-placeholder {
    width: 50px;
    height: 50px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1.125rem;
    border: 2px solid #e5e7eb;
}

.blog-details {
    flex: 1;
    min-width: 0;
}

.blog-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #e2e8f0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-preview {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-date {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

/* Blog Status Badges */
.blog-status-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.blog-status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-width: 80px;
    justify-content: center;
}

.blog-status-badge.published {
    background: #d1fae5;
    color: #065f46;
}

.blog-status-badge.draft {
    background: #fef3c7;
    color: #92400e;
}

.blog-liked-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #fce7f3;
    color: #be185d;
}

.blog-deleted-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #fee2e2;
    color: #991b1b;
}

/* Blog Modified Date */
.blog-modified {
    text-align: center;
}

.modified-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    display: block;
}

.modified-time {
    font-size: 0.75rem;
    color: #6b7280;
}

.no-modification {
    font-size: 0.875rem;
    color: #9ca3af;
    font-style: italic;
}

/* Enhanced Action Buttons for Blog */
.action-btn-large.like { 
    background: linear-gradient(135deg, #ec4899, #db2777); 
}

.action-btn-large.like:hover { 
    background: linear-gradient(135deg, #db2777, #be185d); 
    transform: translateX(2px);
}

/* Blog Management Table */
.blog-management-table {
    font-size: 0.875rem;
}

.blog-management-table th {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1rem 0.75rem;
}

.blog-management-table td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

/* Price and Capacity Combined Display */
.price-capacity-display {
    text-align: center;
}

.price-capacity-display .price-amount {
    font-size: 1rem;
    font-weight: 700;
    color: #059669;
    display: block;
    margin-bottom: 0.25rem;
}

.guest-capacity-small {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

/* Status and Smoking Combined Display */
.status-smoking-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.status-smoking-group .room-status-badge,
.status-smoking-group .smoking-badge {
    font-size: 0.7rem;
    padding: 0.375rem 0.5rem;
    border-radius: 12px;
    min-width: 80px;
}

/* Responsive adjustments for enhanced layout */
@media (max-width: 1200px) {
    .action-buttons-enhanced {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.25rem;
        justify-content: center;
    }
    
    .action-btn-large {
        min-width: 70px;
        padding: 0.375rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .btn-text {
        font-size: 0.7rem;
    }
    
    .status-smoking-group {
        flex-direction: row;
        gap: 0.25rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .room-compact-info {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .action-buttons-enhanced {
        flex-direction: row;
        gap: 0.25rem;
    }
    
    .action-btn-large {
        min-width: 40px;
        padding: 0.375rem;
        justify-content: center;
    }
    
    .btn-text {
        display: none;
    }
    
    .action-btn-large i {
        font-size: 1rem;
        width: auto;
    }
    
    .status-smoking-group {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .status-smoking-group .room-status-badge,
    .status-smoking-group .smoking-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.375rem;
        min-width: 60px;
    }
}

/* Loading States */
.admin-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--admin-primary);
}

.admin-spinner {
    width: 2rem;
    height: 2rem;
    border: 3px solid #e5e7eb;
    border-top: 3px solid var(--admin-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Global Syncfusion Dark Theme Overrides */
.e-grid, .e-grid .e-gridheader, .e-grid .e-headercell,
.e-grid .e-rowcell, .e-grid .e-gridcontent {
    background: transparent !important;
    color: #cbd5e1 !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}
.e-grid .e-headercell {
    color: #94a3b8 !important;
    font-weight: 600 !important;
}
.e-grid .e-row:hover .e-rowcell {
    background: rgba(255, 255, 255, 0.03) !important;
}
.e-grid .e-pager {
    background: transparent !important;
    color: #94a3b8 !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}
.e-grid .e-pager .e-active {
    background: #6366f1 !important;
    color: #fff !important;
}
.e-card {
    background: var(--admin-card-bg) !important;
    border: 1px solid var(--admin-card-border) !important;
    color: #e2e8f0 !important;
}
.card {
    background: var(--admin-card-bg) !important;
    border: 1px solid var(--admin-card-border) !important;
    color: #e2e8f0 !important;
}
.card-header {
    background: rgba(255, 255, 255, 0.02) !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
    color: #e2e8f0 !important;
}
.card-body { color: #cbd5e1 !important; }
.text-muted { color: #64748b !important; }
.text-gray-800 { color: #e2e8f0 !important; }
.text-gray-300 { color: #475569 !important; }
.table { color: #cbd5e1 !important; }
.table-light { background: rgba(255, 255, 255, 0.03) !important; color: #94a3b8 !important; }
.table-bordered { border-color: rgba(255, 255, 255, 0.06) !important; }
.table-bordered td, .table-bordered th { border-color: rgba(255, 255, 255, 0.06) !important; }
.table-hover tbody tr:hover { background: rgba(255, 255, 255, 0.03) !important; }
h1, h2, h3, h4, h5, h6 { color: #e2e8f0; }
.h2 { color: #e2e8f0 !important; }
.text-primary { color: #a5b4fc !important; }
.container-fluid { color: #cbd5e1; }

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================
   SIDEBAR NAVIGATION ENHANCEMENTS
   ========================================= */
.nav-section-header {
    padding: 1.25rem 1.25rem 0.5rem;
    list-style: none;
}

.nav-section-header span {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.3);
}

.sidebar-nav .nav-item {
    margin: 2px 0.75rem;
}

.sidebar-nav .nav-link {
    color: rgba(255, 255, 255, 0.65) !important;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    font-size: 0.88rem;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    text-decoration: none;
}

.sidebar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
    transform: translateX(2px);
}

.sidebar-nav .nav-link.active {
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.nav-icon {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
    flex-shrink: 0;
    opacity: 0.7;
}

.sidebar-nav .nav-link.active .nav-icon,
.sidebar-nav .nav-link:hover .nav-icon {
    opacity: 1;
}

.nav-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Remove the old last-item logout styling */
.sidebar-nav .nav-item:last-child .nav-link {
    background: transparent;
    margin-top: 0;
}
.sidebar-nav .nav-item:last-child .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* =========================================
   ADMIN TOPBAR ENHANCEMENTS
   ========================================= */
.admin-topbar {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    height: var(--admin-topbar-height);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 999;
}

.admin-page-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: -0.3px;
}

.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.admin-quick-actions {
    display: flex;
    gap: 6px;
}

.admin-quick-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: #94a3b8;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-quick-btn:hover {
    background: rgba(99, 102, 241, 0.12);
    color: #a5b4fc;
    border-color: rgba(99, 102, 241, 0.2);
}

.admin-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-user-dropdown {
    position: relative;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 12px;
    transition: background 0.2s;
}

.admin-user-info:hover {
    background: rgba(255, 255, 255, 0.05);
}

.admin-user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.admin-user-details {
    line-height: 1.3;
}

.admin-user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
}

.admin-user-role {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
}

.admin-dropdown-arrow {
    font-size: 10px;
    color: #94a3b8;
    transition: transform 0.2s;
}

.admin-user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    min-width: 200px;
    padding: 6px;
    display: none;
    z-index: 1000;
}

.admin-user-menu.show {
    display: block;
}

.admin-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    transition: all 0.15s ease;
}

.admin-menu-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #a5b4fc;
}

.admin-menu-item i {
    width: 18px;
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
}

.admin-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 4px 8px;
}

.admin-logout-form {
    margin: 0;
}

.admin-logout-btn {
    color: #ef4444 !important;
}

.admin-logout-btn:hover {
    background: rgba(239, 68, 68, 0.06) !important;
}

.admin-menu-toggle {
    border: none;
    background: rgba(255, 255, 255, 0.05);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* =========================================
   RESPONSIVE SIDEBAR
   ========================================= */
@media (max-width: 991px) {
    #sidebar {
        transform: translateX(-100%);
    }
    #sidebar.show {
        transform: translateX(0);
    }
    .right-column {
        margin-left: 0;
        width: 100%;
    }
}

/* =============================================
   DASHBOARD — DARK PREMIUM THEME
   ============================================= */

.pk-dash {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #e2e8f0;
}

/* Welcome Banner */
.pk-dash-welcome {
    position: relative;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.12);
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 28px;
    overflow: hidden;
}

.pk-dash-welcome-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 15% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.pk-dash-welcome-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.pk-dash-greeting {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pk-dash-wave {
    font-size: 1.8rem;
}

.pk-dash-welcome-sub {
    color: #94a3b8;
    margin: 6px 0 0;
    font-size: 0.9rem;
    font-weight: 400;
}

.pk-dash-date {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 18px;
    border-radius: 12px;
}

.pk-dash-date i { color: #6366f1; }

/* Loading */
.pk-dash-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    color: #94a3b8;
    gap: 16px;
}

.pk-dash-loading-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(99, 102, 241, 0.15);
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: pk-dash-spin 0.8s linear infinite;
}

@keyframes pk-dash-spin { to { transform: rotate(360deg); } }

/* Stat Cards */
.pk-dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.pk-dash-stat {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pk-dash-stat:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.pk-dash-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 18px 18px 0 0;
}

.pk-dash-stat-occupancy::before { background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.pk-dash-stat-rooms::before { background: linear-gradient(90deg, #10b981, #34d399); }
.pk-dash-stat-checkins::before { background: linear-gradient(90deg, #3b82f6, #60a5fa); }
.pk-dash-stat-revenue::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.pk-dash-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.pk-dash-stat-occupancy .pk-dash-stat-icon {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
}
.pk-dash-stat-rooms .pk-dash-stat-icon {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
}
.pk-dash-stat-checkins .pk-dash-stat-icon {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
}
.pk-dash-stat-revenue .pk-dash-stat-icon {
    background: rgba(245, 158, 11, 0.15);
    color: #fcd34d;
}

.pk-dash-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -1px;
}

.pk-dash-stat-unit {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.6;
    margin-left: 2px;
}

.pk-dash-stat-divider {
    font-weight: 300;
    opacity: 0.3;
    margin: 0 4px;
    font-size: 1.5rem;
}

.pk-dash-stat-total {
    font-size: 1.3rem;
    font-weight: 600;
    opacity: 0.45;
}

.pk-dash-stat-label {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stat extras */
.pk-dash-stat-ring {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
}

.pk-dash-stat-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.pk-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 3;
}

.pk-ring-fill {
    fill: none;
    stroke: #6366f1;
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease;
}

.pk-dash-stat-bar {
    margin-top: 14px;
}

.pk-bar-track {
    height: 5px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.pk-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #34d399);
    border-radius: 3px;
    transition: width 1s ease;
}

.pk-dash-stat-badges {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.pk-mini-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pk-mini-in {
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
}

.pk-mini-out {
    background: rgba(245, 158, 11, 0.12);
    color: #fcd34d;
}

.pk-dash-stat-trend {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6ee7b7;
}

.pk-dash-stat-trend i { font-size: 0.8rem; }

/* Dashboard Cards */
.pk-dash-card {
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pk-dash-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.pk-dash-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pk-dash-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.pk-dash-card-title i {
    color: #6366f1;
    font-size: 0.95rem;
}

.pk-dash-card-count {
    background: rgba(99, 102, 241, 0.12);
    color: #a5b4fc;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.pk-dash-card-body {
    padding: 24px;
}

.pk-dash-card-body-flush {
    padding: 0;
}

/* Charts Row */
.pk-dash-charts {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.pk-dash-date-picker {
    max-width: 240px;
}

/* Room Status Visual (replaces chart for better dark theme integration) */
.pk-room-status-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pk-room-status-item {
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}

.pk-room-status-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.pk-room-status-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.pk-status-available .pk-room-status-header { color: #6ee7b7; }
.pk-status-available .pk-room-status-header i { color: #10b981; }
.pk-status-occupied .pk-room-status-header { color: #fca5a5; }
.pk-status-occupied .pk-room-status-header i { color: #ef4444; }
.pk-status-maintenance .pk-room-status-header { color: #fcd34d; }
.pk-status-maintenance .pk-room-status-header i { color: #f59e0b; }

.pk-room-status-count {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px;
}

.pk-room-status-bar-wrap {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}

.pk-room-status-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 1s ease;
}

.pk-status-available .pk-room-status-bar { background: linear-gradient(90deg, #10b981, #34d399); }
.pk-status-occupied .pk-room-status-bar { background: linear-gradient(90deg, #ef4444, #f87171); }
.pk-status-maintenance .pk-room-status-bar { background: linear-gradient(90deg, #f59e0b, #fbbf24); }

.pk-room-status-pct {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-align: right;
}

/* Activity Row */
.pk-dash-activity {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

/* Check-in/out list */
.pk-checkin-list {
    max-height: 440px;
    overflow-y: auto;
}

.pk-checkin-list::-webkit-scrollbar {
    width: 4px;
}
.pk-checkin-list::-webkit-scrollbar-track { background: transparent; }
.pk-checkin-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.pk-checkin-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.15s ease;
}

.pk-checkin-item:last-child { border-bottom: none; }

.pk-checkin-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.pk-checkin-today {
    background: rgba(99, 102, 241, 0.06) !important;
    border-left: 3px solid #6366f1;
}

.pk-checkin-avatar {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.pk-avatar-out {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.pk-checkin-details {
    flex: 1;
    min-width: 0;
}

.pk-checkin-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pk-checkin-meta {
    display: flex;
    gap: 14px;
    margin-top: 3px;
}

.pk-checkin-meta span {
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pk-checkin-meta i {
    font-size: 0.65rem;
    opacity: 0.7;
}

.pk-checkin-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.pk-checkin-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
}

.pk-date-today {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #6ee7b7 !important;
}

.pk-date-warning {
    background: rgba(245, 158, 11, 0.12) !important;
    color: #fcd34d !important;
}

.pk-action-btn {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.pk-action-checkin {
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
}
.pk-action-checkin:hover {
    background: rgba(16, 185, 129, 0.25);
    transform: scale(1.1);
}

.pk-action-checkout {
    background: rgba(245, 158, 11, 0.12);
    color: #fcd34d;
}
.pk-action-checkout:hover {
    background: rgba(245, 158, 11, 0.25);
    transform: scale(1.1);
}

/* Empty States */
.pk-dash-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    color: #475569;
    gap: 12px;
}

.pk-dash-empty-state i {
    font-size: 2rem;
    opacity: 0.4;
}

.pk-dash-empty-state p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.pk-dash-empty {
    color: #475569;
    text-align: center;
    padding: 32px;
    font-size: 0.85rem;
}

/* Recent Bookings Card */
.pk-dash-bookings-card {
    margin-bottom: 28px;
}

.pk-dash-view-all {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    padding: 7px 16px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.pk-dash-view-all:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.pk-dash-view-all i { font-size: 0.7rem; }

/* Bookings Table */
.pk-bookings-table-wrap {
    overflow-x: auto;
}

.pk-bookings-table {
    width: 100%;
    border-collapse: collapse;
}

.pk-bookings-table thead th {
    padding: 14px 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    white-space: nowrap;
}

.pk-bookings-table tbody td {
    padding: 14px 20px;
    font-size: 0.85rem;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    white-space: nowrap;
}

.pk-bookings-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.pk-bookings-table tbody tr:last-child td {
    border-bottom: none;
}

.pk-booking-code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
}

.pk-booking-guest {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pk-booking-guest-avatar {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, #334155, #475569);
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}

.pk-booking-amount {
    font-weight: 700;
    color: #6ee7b7;
}

/* Status Pills */
.pk-status-pill {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pk-pill-pending {
    background: rgba(245, 158, 11, 0.12);
    color: #fcd34d;
}

.pk-pill-confirmed {
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
}

.pk-pill-checkedin {
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
}

.pk-pill-checkedout {
    background: rgba(148, 163, 184, 0.12);
    color: #94a3b8;
}

.pk-pill-cancelled {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
}

.pk-pill-unknown {
    background: rgba(148, 163, 184, 0.08);
    color: #64748b;
}

/* Syncfusion overrides for dark theme */
.pk-dash .e-daterangepicker,
.pk-dash .e-input-group {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    color: #e2e8f0 !important;
}

.pk-dash .e-input-group .e-input,
.pk-dash .e-input-group input {
    color: #e2e8f0 !important;
}

.pk-dash .e-input-group .e-input-group-icon {
    color: #64748b !important;
}

/* Dashboard Responsive */
@media (max-width: 1400px) {
    .pk-dash-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1200px) {
    .pk-dash-charts {
        grid-template-columns: 1fr;
    }
    .pk-dash-activity {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pk-dash-stats {
        grid-template-columns: 1fr;
    }
    .pk-dash-welcome-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .pk-dash-greeting {
        font-size: 1.3rem;
    }
    .pk-dash-stat-value {
        font-size: 1.6rem;
    }
}