:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #e0e7ff;
  --success: #10b981;
  --success-light: #d1fae5;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  --danger: #ef4444;
  --danger-light: #fee2e2;
  --info: #3b82f6;
  --info-light: #dbeafe;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--gray-50); color: var(--gray-800); line-height: 1.5; min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }
.page { padding: 1.5rem 0; min-height: calc(100vh - 200px); }

/* Navbar */
.navbar {
  background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo {
  display: flex;
  align-items: center; /* bikin sejajar vertikal */
  gap: 8px; /* jarak logo & teks */
}

.logo-img {
  height: 80px; /* sesuaikan ukuran */
}
.nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.nav-links a { color: var(--gray-600); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.btn-notification { position: relative; padding: 0.5rem; border-radius: var(--radius); transition: background 0.2s; }
.btn-notification:hover { background: var(--gray-100); }
.badge {
  position: absolute; top: 2px; right: 2px; background: var(--danger); color: var(--white);
  font-size: 0.65rem; font-weight: 700; width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.user-menu { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; padding: 0.5rem; border-radius: var(--radius); transition: background 0.2s; }
.user-menu:hover { background: var(--gray-100); }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.875rem;
}
.mobile-menu-btn { display: none; padding: 0.5rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.625rem 1.25rem; border-radius: var(--radius); font-weight: 600; font-size: 0.9375rem; transition: all 0.2s; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--gray-100); color: var(--gray-700); }
.btn-secondary:hover { background: var(--gray-200); }
.btn-success { background: var(--success); color: var(--white); }
.btn-success:hover { background: #059669; }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #dc2626; }
.btn-outline { border: 1px solid var(--gray-300); color: var(--gray-700); }
.btn-outline:hover { background: var(--gray-50); }
.btn-ghost { color: var(--gray-600); }
.btn-ghost:hover { background: var(--gray-100); }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* Cards */
.card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.card-header { padding: 1.25rem; border-bottom: 1px solid var(--gray-100); }
.card-body { padding: 1.25rem; }
.card-footer { padding: 1.25rem; border-top: 1px solid var(--gray-100); }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--gray-700); font-size: 0.875rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.625rem 0.875rem; border: 1px solid var(--gray-300); border-radius: var(--radius);
  background: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.form-input::placeholder { color: var(--gray-400); }
.form-textarea { resize: vertical; min-height: 100px; }
.input-group { display: flex; }
.input-group .form-input { border-radius: var(--radius) 0 0 var(--radius); }
.input-group .btn { border-radius: 0 var(--radius) var(--radius) 0; }

/* Badges & Status */
.status-badge { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; }
.status-pending { background: var(--warning-light); color: #92400e; }
.status-active { background: var(--success-light); color: #065f46; }
.status-completed { background: var(--info-light); color: #1e40af; }
.status-cancelled { background: var(--danger-light); color: #991b1b; }
.status-escrow { background: var(--primary-light); color: #3730a3; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%); color: var(--white); padding: 3rem 0 4rem; text-align: center; }
.hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.hero p { font-size: 1.125rem; opacity: 0.9; max-width: 600px; margin: 0 auto 2rem; }
.search-box { display: flex; max-width: 600px; margin: 0 auto; gap: 0.5rem; }
.search-box .form-input { flex: 1; padding: 0.875rem 1rem; border: none; font-size: 1rem; }
.search-box .btn { padding: 0.875rem 1.5rem; }

/* Categories */
.categories { margin: -2rem 0 2rem; position: relative; z-index: 10; }
.category-list { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; background: var(--white); padding: 1rem; border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
.category-btn { padding: 0.5rem 1rem; border-radius: var(--radius); font-weight: 500; font-size: 0.875rem; transition: all 0.2s; background: var(--gray-100); color: var(--gray-600); }
.category-btn:hover, .category-btn.active { background: var(--primary); color: var(--white); }

/* Items Grid */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.section-header h2 { font-size: 1.5rem; font-weight: 700; }
.items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.item-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; }
.item-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.item-image { height: 180px; background: var(--gray-100); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.item-info { padding: 1rem; }
.item-title { font-weight: 600; font-size: 1rem; margin-bottom: 0.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; font-size: 0.875rem; color: var(--gray-500); }
.item-price { font-size: 1.125rem; font-weight: 700; color: var(--primary); }
.item-price span { font-size: 0.75rem; font-weight: 500; color: var(--gray-400); }
.item-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 0.75rem; border-top: 1px solid var(--gray-100); }
.rating { display: flex; align-items: center; gap: 0.25rem; color: var(--warning); font-size: 0.875rem; }

/* Item Detail */
.item-detail-header { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.item-detail-image { background: var(--gray-100); border-radius: var(--radius-lg); min-height: 400px; display: flex; align-items: center; justify-content: center; font-size: 8rem; }
.item-detail-info h1 { font-size: 1.875rem; font-weight: 700; margin-bottom: 0.75rem; }
.item-detail-meta { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.item-detail-meta > div { text-align: center; }
.item-detail-meta .value { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.item-detail-meta .label { font-size: 0.75rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; }
.escrow-banner { background: var(--primary-light); border: 1px solid #c7d2fe; border-radius: var(--radius); padding: 1rem; display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.escrow-banner .icon { font-size: 1.5rem; }
.terms-box { background: var(--gray-50); border-radius: var(--radius); padding: 1rem; margin-bottom: 1.5rem; max-height: 200px; overflow-y: auto; }
.terms-box h4 { font-size: 0.875rem; margin-bottom: 0.5rem; }
.terms-box ul { list-style: none; font-size: 0.875rem; color: var(--gray-600); }
.terms-box li { padding: 0.25rem 0; padding-left: 1rem; position: relative; }
.terms-box li::before { content: '•'; position: absolute; left: 0; color: var(--primary); }

/* Rental Flow */
.steps-indicator { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.step { display: flex; align-items: center; gap: 0.5rem; }
.step-circle { width: 32px; height: 32px; border-radius: 50%; background: var(--gray-200); color: var(--gray-500); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem; }
.step.active .step-circle, .step.completed .step-circle { background: var(--primary); color: var(--white); }
.step-label { font-size: 0.875rem; font-weight: 500; color: var(--gray-500); }
.step.active .step-label { color: var(--primary); font-weight: 600; }
.step-line { width: 40px; height: 2px; background: var(--gray-200); }
.step.completed + .step-line { background: var(--primary); }
.flow-content { max-width: 600px; margin: 0 auto; }

/* Payment Options */
.payment-options { display: flex; flex-direction: column; gap: 1rem; }
.payment-option { border: 2px solid var(--gray-200); border-radius: var(--radius); padding: 1rem; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 1rem; }
.payment-option:hover { border-color: var(--primary); }
.payment-option.selected { border-color: var(--primary); background: var(--primary-light); }
.payment-option-input { width: 20px; height: 20px; accent-color: var(--primary); }
.payment-option-info h4 { font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.payment-option-info p { font-size: 0.875rem; color: var(--gray-500); margin-top: 0.25rem; }
.recommended-tag { background: var(--primary); color: var(--white); font-size: 0.625rem; padding: 0.125rem 0.5rem; border-radius: 9999px; text-transform: uppercase; letter-spacing: 0.05em; }

/* Timeline */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: var(--gray-200); }
.timeline-item { position: relative; padding-bottom: 1.5rem; }
.timeline-dot { position: absolute; left: -2rem; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--gray-300); border: 3px solid var(--white); box-shadow: var(--shadow-sm); }
.timeline-item.completed .timeline-dot { background: var(--success); }
.timeline-item.active .timeline-dot { background: var(--primary); }
.timeline-content { font-size: 0.875rem; }
.timeline-content h5 { font-weight: 600; margin-bottom: 0.25rem; }
.timeline-content p { color: var(--gray-500); }

/* Dashboard */
.dashboard-grid { display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; }
.sidebar { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.25rem; height: fit-content; position: sticky; top: 80px; }
.sidebar-menu { list-style: none; }
.sidebar-menu a { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; border-radius: var(--radius); color: var(--gray-600); font-weight: 500; transition: all 0.2s; }
.sidebar-menu a:hover, .sidebar-menu a.active { background: var(--primary-light); color: var(--primary); }
.dashboard-content { display: flex; flex-direction: column; gap: 1.5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.stat-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.25rem; }
.stat-card h3 { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 0.5rem; }
.stat-card .value { font-size: 1.75rem; font-weight: 700; color: var(--gray-800); }

/* Transaction List */
.transaction-list { display: flex; flex-direction: column; gap: 1rem; }
.transaction-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.25rem; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; }
.transaction-icon { font-size: 2rem; }
.transaction-info h4 { font-weight: 600; margin-bottom: 0.25rem; }
.transaction-info p { font-size: 0.875rem; color: var(--gray-500); }
.transaction-actions { display: flex; gap: 0.5rem; flex-direction: column; }

/* Chat */
.chat-container { display: grid; grid-template-columns: 300px 1fr; gap: 1.5rem; height: calc(100vh - 180px); }
.chat-sidebar { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.chat-search { padding: 1rem; border-bottom: 1px solid var(--gray-100); }
.chat-list { flex: 1; overflow-y: auto; }
.chat-thread { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; cursor: pointer; transition: background 0.2s; }
.chat-thread:hover, .chat-thread.active { background: var(--gray-50); }
.chat-thread-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.chat-thread-info { flex: 1; min-width: 0; }
.chat-thread-info h5 { font-weight: 600; font-size: 0.875rem; }
.chat-thread-info p { font-size: 0.75rem; color: var(--gray-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-main { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.chat-header { padding: 1rem; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; gap: 0.75rem; }
.chat-messages { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 1rem; }
.message { max-width: 70%; padding: 0.75rem 1rem; border-radius: var(--radius-lg); font-size: 0.875rem; }
.message.sent { align-self: flex-end; background: var(--primary); color: var(--white); border-bottom-right-radius: 0.25rem; }
.message.received { align-self: flex-start; background: var(--gray-100); color: var(--gray-800); border-bottom-left-radius: 0.25rem; }
.message-time { font-size: 0.6875rem; opacity: 0.7; margin-top: 0.25rem; }
.chat-input { padding: 1rem; border-top: 1px solid var(--gray-100); display: flex; gap: 0.5rem; }
.chat-input .form-input { flex: 1; }

/* Balance */
.balance-card { background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%); color: var(--white); border-radius: var(--radius-lg); padding: 2rem; margin-bottom: 1.5rem; }
.balance-card h3 { font-size: 0.875rem; opacity: 0.8; margin-bottom: 0.5rem; }
.balance-card .amount { font-size: 2.5rem; font-weight: 800; }
.topup-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-bottom: 1rem; }
.topup-option { border: 2px solid var(--gray-200); border-radius: var(--radius); padding: 1rem; text-align: center; cursor: pointer; transition: all 0.2s; }
.topup-option:hover, .topup-option.selected { border-color: var(--primary); background: var(--primary-light); }
.topup-option .amount { font-weight: 700; font-size: 1.125rem; }
.payment-methods { display: flex; flex-direction: column; gap: 0.75rem; }
.payment-method { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; border: 1px solid var(--gray-200); border-radius: var(--radius); cursor: pointer; }
.payment-method:hover, .payment-method.selected { border-color: var(--primary); background: var(--primary-light); }
.payment-method .icon { font-size: 1.5rem; }
.transaction-history { margin-top: 1.5rem; }
.transaction-history-item { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid var(--gray-100); }
.transaction-history-item:last-child { border-bottom: none; }
.tx-type { font-weight: 600; }
.tx-amount { font-weight: 700; }
.tx-amount.credit { color: var(--success); }
.tx-amount.debit { color: var(--danger); }
.tx-date { font-size: 0.75rem; color: var(--gray-400); }

/* Notifications */
.notification-list { display: flex; flex-direction: column; gap: 0.75rem; }
.notification-item { background: var(--white); border-radius: var(--radius); padding: 1rem; display: flex; gap: 0.75rem; align-items: flex-start; box-shadow: var(--shadow); transition: background 0.2s; }
.notification-item.unread { background: var(--primary-light); border-left: 3px solid var(--primary); }
.notification-icon { font-size: 1.25rem; }
.notification-content { flex: 1; }
.notification-content h5 { font-weight: 600; font-size: 0.875rem; margin-bottom: 0.25rem; }
.notification-content p { font-size: 0.8125rem; color: var(--gray-500); }
.notification-time { font-size: 0.75rem; color: var(--gray-400); white-space: nowrap; }

/* Owner Panel */
.item-form { max-width: 700px; }
.emoji-picker { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.emoji-option { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; border-radius: var(--radius); cursor: pointer; transition: all 0.2s; background: var(--gray-100); }
.emoji-option:hover, .emoji-option.selected { background: var(--primary-light); transform: scale(1.1); }
.owner-items-table { width: 100%; border-collapse: collapse; }
.owner-items-table th, .owner-items-table td { padding: 0.75rem; text-align: left; border-bottom: 1px solid var(--gray-100); font-size: 0.875rem; }
.owner-items-table th { font-weight: 600; color: var(--gray-500); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; }
.owner-items-table tr:hover { background: var(--gray-50); }

/* Auth Pages */
.auth-container { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-image { background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%); display: flex; align-items: center; justify-content: center; color: var(--white); padding: 2rem; }
.auth-image h2 { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 2rem; }
.auth-form-inner { width: 100%; max-width: 400px; }
.auth-form-inner h1 { font-size: 1.875rem; font-weight: 700; margin-bottom: 0.5rem; }
.auth-form-inner p { color: var(--gray-500); margin-bottom: 1.5rem; }
.role-selector { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1rem; }
.role-option { border: 2px solid var(--gray-200); border-radius: var(--radius); padding: 1rem; text-align: center; cursor: pointer; transition: all 0.2s; }
.role-option:hover, .role-option.selected { border-color: var(--primary); background: var(--primary-light); }
.role-option .icon { font-size: 2rem; margin-bottom: 0.5rem; }
.role-option h4 { font-weight: 600; }
.role-option p { font-size: 0.75rem; color: var(--gray-500); margin: 0; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal { background: var(--white); border-radius: var(--radius-lg); max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto; transform: scale(0.95); transition: transform 0.2s; }
.modal-overlay.active .modal { transform: scale(1); }
.modal-header { padding: 1.25rem; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; justify-content: space-between; }
.modal-header h3 { font-weight: 700; }
.modal-close { font-size: 1.5rem; color: var(--gray-400); cursor: pointer; }
.modal-close:hover { color: var(--gray-600); }
.modal-body { padding: 1.25rem; }
.modal-footer { padding: 1.25rem; border-top: 1px solid var(--gray-100); display: flex; justify-content: flex-end; gap: 0.5rem; }

/* Star Rating */
.star-rating { display: flex; gap: 0.25rem; font-size: 1.5rem; color: var(--gray-300); cursor: pointer; }
.star-rating .star.active { color: var(--warning); }
.star-rating .star:hover { color: var(--warning); }

/* Footer */
.footer { background: var(--white); border-top: 1px solid var(--gray-100); padding: 2rem 0; margin-top: 3rem; text-align: center; color: var(--gray-500); font-size: 0.875rem; }

/* Mobile */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-actions .user-name { display: none; }
  .mobile-menu-btn { display: block; }
  .hero h1 { font-size: 1.75rem; }
  .items-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .item-detail-header { grid-template-columns: 1fr; }
  .item-detail-image { min-height: 250px; font-size: 5rem; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .chat-container { grid-template-columns: 1fr; height: auto; }
  .chat-sidebar { display: none; }
  .auth-container { grid-template-columns: 1fr; }
  .auth-image { display: none; }
  .transaction-card { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .items-grid { grid-template-columns: 1fr; }
  .search-box { flex-direction: column; }
  .category-list { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding: 0.75rem; }
  .category-btn { white-space: nowrap; }
  .topup-options { grid-template-columns: 1fr; }
  .owner-items-table { display: block; overflow-x: auto; }
}


/* ══════════════════════════════════════════════════════════
   CLICKABLE USER LINKS (profil integration)
═══════════════════════════════════════════════════════════ */
a.user-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted var(--primary);
  transition: opacity .15s;
  white-space: nowrap;
}
a.user-link:hover { opacity: .7; }

/* Notification item link arrow */
.notif-link-arrow { transition: transform .15s; }
.notification-item.clickable:hover .notif-link-arrow { transform: translateX(3px); }

/* Profile page extras */
.profile-hero { background: linear-gradient(135deg, var(--primary), #7c3aed); color: #fff; }

