:root {
    --user-sidebar-width: 250px;
    --user-topbar-height: 64px;
    --user-primary: #0d9488;
    --user-primary-dark: #0f766e;
    --user-sidebar-bg: #134e4a;
    --user-sidebar-hover: #115e59;
    --user-content-bg: #f0fdfa;
    --user-card-border: #ccfbf1;
}

.user-body {
    font-family: 'Inter', sans-serif;
    background: var(--user-content-bg);
    overflow-x: hidden;
}

.user-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.user-sidebar {
    width: var(--user-sidebar-width);
    background: var(--user-sidebar-bg);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.user-sidebar-brand {
    padding: 1.25rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
}

.user-sidebar-brand:hover { color: #fff; }

.user-sidebar-brand i {
    font-size: 1.4rem;
    color: #5eead4;
}

.user-sidebar-nav {
    padding: 0.75rem 0;
    flex: 1;
}

.user-nav-section {
    padding: 0.65rem 1.25rem 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,0.35);
}

.user-sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1.25rem;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.user-sidebar-nav .nav-link:hover {
    background: var(--user-sidebar-hover);
    color: #fff;
}

.user-sidebar-nav .nav-link.active {
    background: rgba(13, 148, 136, 0.25);
    color: #fff;
    border-left-color: #5eead4;
}

.user-sidebar-nav .nav-link i {
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
}

.user-sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.user-sidebar-footer .nav-link {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-sidebar-footer .nav-link:hover { color: #f87171; }

/* Main */
.user-main {
    flex: 1;
    margin-left: var(--user-sidebar-width);
    min-height: 100vh;
}

.user-topbar {
    height: var(--user-topbar-height);
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.user-topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-breadcrumb {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.user-breadcrumb strong {
    color: #0f172a;
    font-weight: 600;
}

.user-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-notification-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    position: relative;
}

.user-notification-btn .badge-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #fff;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #334155 !important;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.35rem 0.5rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
}

.user-avatar {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
}

.user-content-area {
    padding: 1.5rem;
}

/* Page Header */
.user-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.user-page-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.25rem;
}

.user-page-header p {
    color: #64748b;
    margin: 0;
    font-size: 0.875rem;
}

/* Stat Cards */
.user-stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}

.user-stat-card:hover {
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.08);
    transform: translateY(-1px);
}

.user-stat-card .stat-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.user-stat-card .stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.user-stat-card .stat-icon.teal { background: rgba(13,148,136,0.1); color: #0d9488; }
.user-stat-card .stat-icon.green { background: rgba(16,185,129,0.1); color: #10b981; }
.user-stat-card .stat-icon.blue { background: rgba(37,99,235,0.1); color: #2563eb; }
.user-stat-card .stat-icon.amber { background: rgba(245,158,11,0.1); color: #f59e0b; }
.user-stat-card .stat-icon.red { background: rgba(239,68,68,0.1); color: #ef4444; }

.user-stat-card .stat-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.user-stat-card .stat-label {
    color: #64748b;
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

.user-stat-card .stat-trend {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    color: #64748b;
}

/* Cards */
.user-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.user-card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
}

.user-card-header h5 {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0f172a;
}

.user-card-body {
    padding: 1.25rem;
}

.user-card-body.flush {
    padding: 0;
}

/* Tables */
.user-table {
    margin: 0;
    font-size: 0.85rem;
}

.user-table thead th {
    background: #f8fafc;
    font-weight: 600;
    color: #64748b;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}

.user-table tbody td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #f8fafc;
    color: #334155;
}

.user-table tbody tr:hover {
    background: #f0fdfa;
}

/* Buttons */
.btn-user-primary {
    background: var(--user-primary);
    border: none;
    color: #fff;
    font-weight: 500;
    padding: 0.5rem 1.15rem;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: background 0.2s;
}

.btn-user-primary:hover {
    background: var(--user-primary-dark);
    color: #fff;
}

.btn-user-outline {
    border: 1px solid #e2e8f0;
    color: #334155;
    font-weight: 500;
    padding: 0.5rem 1.15rem;
    border-radius: 8px;
    font-size: 0.875rem;
    background: #fff;
}

.btn-user-outline:hover {
    background: #f8fafc;
    border-color: var(--user-primary);
    color: var(--user-primary);
}

.btn-action-sm {
    width: 30px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 0.8rem;
}

/* Computer Cards - Production */
.pc-card-pro {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.25s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pc-card-pro:hover {
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.12);
    border-color: #99f6e4;
    transform: translateY(-2px);
}

.pc-card-pro .pc-card-top {
    padding: 1.25rem 1.25rem 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.pc-card-pro .pc-number {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}

.pc-card-pro .pc-brand {
    font-size: 0.8rem;
    color: #64748b;
}

.pc-card-pro .pc-specs {
    padding: 0 1.25rem 1rem;
    flex: 1;
}

.pc-card-pro .spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #475569;
    margin-bottom: 0.4rem;
}

.pc-card-pro .spec-item i {
    color: #0d9488;
    width: 16px;
}

.pc-card-pro .pc-card-footer {
    padding: 0.85rem 1.25rem;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.pc-card-pro.available { border-top: 3px solid #10b981; }
.pc-card-pro.busy { border-top: 3px solid #ef4444; opacity: 0.85; }
.pc-card-pro.maintenance { border-top: 3px solid #f59e0b; opacity: 0.85; }

/* Service Cards */
.service-card-pro {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.35rem;
    height: 100%;
    transition: all 0.2s;
    position: relative;
}

.service-card-pro:hover {
    border-color: #5eead4;
    box-shadow: 0 4px 16px rgba(13,148,136,0.1);
}

.service-card-pro .service-icon {
    width: 44px;
    height: 44px;
    background: rgba(13,148,136,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.service-card-pro .service-price-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f0fdfa;
    color: #0d9488;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    border: 1px solid #ccfbf1;
}

/* Active Booking Banner */
.active-booking-banner {
    background: linear-gradient(135deg, #134e4a 0%, #0d9488 100%);
    border-radius: 14px;
    padding: 1.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.active-booking-banner h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.active-booking-banner .detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.active-booking-banner .detail-item label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    display: block;
    margin-bottom: 0.2rem;
}

.active-booking-banner .detail-item span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Filter Bar */
.user-filter-bar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.user-filter-bar .form-control,
.user-filter-bar .form-select {
    font-size: 0.85rem;
    border-radius: 8px;
    max-width: 200px;
}

/* Detail View */
.detail-section {
    margin-bottom: 1.5rem;
}

.detail-section h6 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.detail-row .label { color: #64748b; }
.detail-row .value { font-weight: 500; color: #0f172a; }

/* Auth Pages - Production */
.user-auth-page {
    min-height: 100vh;
    display: flex;
    background: #f0fdfa;
}

.user-auth-left {
    flex: 1;
    background: linear-gradient(135deg, #134e4a 0%, #0f766e 50%, #134e4a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.user-auth-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%235eead4' fill-opacity='0.06'%3E%3Cpath d='M0 0h20v20H0V0zm20 20h20v20H20V20z'/%3E%3C/g%3E%3C/svg%3E");
}

.user-auth-left-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 420px;
}

.user-auth-left-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.user-auth-left-content p {
    opacity: 0.85;
    line-height: 1.7;
}

.user-auth-features {
    margin-top: 2rem;
}

.user-auth-features .feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.user-auth-features .feature i {
    width: 32px;
    height: 32px;
    background: rgba(94,234,212,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5eead4;
}

.user-auth-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    max-width: 520px;
}

.user-auth-card {
    width: 100%;
    max-width: 400px;
}

.user-auth-card .auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.user-auth-card .auth-logo i {
    font-size: 2.5rem;
    color: #0d9488;
}

.user-auth-card h3 {
    text-align: center;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.user-auth-card .auth-sub {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
}

.user-auth-card .form-control {
    padding: 0.7rem 0.9rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

.user-auth-card .form-control:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

.user-auth-card .form-label {
    font-weight: 500;
    font-size: 0.85rem;
    color: #334155;
}

.btn-auth-user {
    width: 100%;
    padding: 0.75rem;
    background: #0d9488;
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    font-size: 0.9rem;
}

.btn-auth-user:hover {
    background: #0f766e;
    color: #fff;
}

/* Public computers page */
.user-public-nav {
    background: #134e4a;
    padding: 0.85rem 0;
}

.user-public-nav .navbar-brand {
    color: #fff !important;
    font-weight: 700;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    color: #64748b;
}

.empty-state i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.empty-state h5 {
    color: #334155;
    font-weight: 600;
}

/* Quick action pills */
.action-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.action-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-radius: 20px;
    color: #0d9488;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.action-pill:hover {
    background: #0d9488;
    color: #fff;
    border-color: #0d9488;
}

/* Profile card */
.profile-header-card {
    background: linear-gradient(135deg, #134e4a, #0d9488);
    border-radius: 14px;
    padding: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.profile-avatar-lg {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    border: 2px solid rgba(255,255,255,0.3);
}

/* Form */
.user-form .form-label {
    font-weight: 500;
    font-size: 0.85rem;
    color: #334155;
}

.user-form .form-control,
.user-form .form-select {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 0.875rem;
    padding: 0.6rem 0.85rem;
}

.user-form .form-control:focus,
.user-form .form-select:focus {
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}

/* Tabs */
.user-tabs .nav-link {
    color: #64748b;
    font-weight: 500;
    font-size: 0.875rem;
    border: none;
    padding: 0.6rem 1.15rem;
    border-radius: 8px;
}

.user-tabs .nav-link.active {
    background: #0d9488;
    color: #fff;
}

@media (max-width: 991px) {
    .user-sidebar { transform: translateX(-100%); }
    .user-sidebar.show { transform: translateX(0); }
    .user-main { margin-left: 0; }
    .user-auth-left { display: none; }
    .user-auth-right { max-width: 100%; }
}

@media print {
    .user-sidebar, .user-topbar, .no-print { display: none !important; }
    .user-main { margin-left: 0 !important; }
    .user-content-area { padding: 0 !important; }
}
