/* Admin-specific styles that extend the main styles.css */

.admin-page {
  background: radial-gradient(1200px 800px at 20% 0%, #1a1525 0%, #0f1115 60%), var(--bg);
}

.admin-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 40px 24px;
  min-height: calc(100vh - 120px);
  gap: 24px;
}

/* Login Card */
.login-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  border: 1px solid #2a3142;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  animation: fadeInUp 0.4s ease;
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-header h2 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.login-subtitle {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.2px;
}

.form-group input {
  background: var(--panel-2);
  border: 1px solid #2a3142;
  color: var(--text);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(110, 168, 254, 0.15);
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
  animation: shake 0.4s ease;
}

.login-btn {
  margin-top: 8px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  position: relative;
}

.login-btn .btn-loader {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.login-footer {
  margin-top: 24px;
  text-align: center;
}

.back-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--accent);
}

/* Admin Dashboard */
.admin-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  border: 1px solid #2a3142;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  padding: 32px;
  width: 100%;
  max-width: 1200px;
  animation: fadeInUp 0.4s ease;
}

.admin-card-header {
  margin-bottom: 32px;
}

.admin-card-header h2 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 600;
}

.admin-card-header .subtitle {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.admin-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  padding: 20px;
  background: linear-gradient(180deg, #101523, #0b0f19);
  border: 1px solid #2a3142;
  border-radius: 12px;
}

.control-group {
  flex: 1;
  min-width: 200px;
}

.search-input,
.category-select {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid #2a3142;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.search-input:focus,
.category-select:focus {
  outline: none;
  border-color: var(--accent);
}

.bulk-actions {
  display: flex;
  gap: 8px;
  min-width: auto;
  flex: 0;
}

.bulk-actions .btn {
  white-space: nowrap;
}

/* Items List */
.items-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
  max-height: 70vh;
  overflow-y: auto;
  padding: 4px;
  scroll-behavior: smooth;
}

.item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(180deg, #101523, #0b0f19);
  border: 1px solid #2a3142;
  border-radius: 10px;
  padding: 16px;
  transition: all 0.2s;
  animation: fadeIn 0.3s ease;
  position: relative;
  z-index: 1;
}

.item-row:hover {
  border-color: #3a445b;
  transform: translateY(-1px);
  z-index: 2;
}

.item-row.disabled {
  opacity: 0.5;
}

/* Item Actions Menu */
.item-actions {
  position: relative;
  margin-left: 8px;
}

.item-menu-btn {
  background: transparent;
  border: 1px solid #2a3142;
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.2s;
  padding: 0;
}

.item-menu-btn:hover {
  border-color: #3a445b;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.item-menu-btn:active {
  transform: scale(0.95);
}

.item-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: linear-gradient(180deg, #1f2635, #161b28);
  border: 1px solid #2a3142;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  min-width: 140px;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
}

.item-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.item-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
}

.item-dropdown-item:first-child {
  border-radius: 8px 8px 0 0;
}

.item-dropdown-item:last-child {
  border-radius: 0 0 8px 8px;
}

.item-dropdown-item:hover {
  background: rgba(110, 168, 254, 0.1);
  color: var(--accent);
}

.item-dropdown-item.danger:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
}

.item-dropdown-separator {
  height: 1px;
  background: #2a3142;
  margin: 4px 0;
}

.item-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.item-icon {
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.item-icon-placeholder {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2a3142, #1e2430);
  border: 1px solid #3a445b;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #6ea8fe;
  font-size: 14px;
  flex-shrink: 0;
}

.item-details {
  flex: 1;
}

.item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}

.item-meta {
  font-size: 11px;
  color: var(--muted);
}

.item-category {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(110, 168, 254, 0.15);
  border: 1px solid rgba(110, 168, 254, 0.3);
  color: var(--accent);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 6px;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 54px;
  height: 28px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #2a3142, #1e2430);
  border: 1px solid #2a3142;
  transition: all 0.3s;
  border-radius: 28px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 3px;
  background: linear-gradient(180deg, #5a6478, #3a4458);
  transition: all 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.toggle-switch input:checked + .toggle-slider {
  background: linear-gradient(180deg, #4061e2, #2b4ac2);
  border-color: #4463d2;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(26px);
  background: linear-gradient(180deg, #ffffff, #e6eaf2);
}

.toggle-slider:hover {
  box-shadow: 0 0 8px rgba(110, 168, 254, 0.3);
}

/* Buttons */
.btn.danger {
  border-color: #dc2626;
  background: linear-gradient(180deg, #ef4444, #dc2626);
  color: white;
}

.btn.danger:hover {
  background: linear-gradient(180deg, #dc2626, #b91c1c);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Loading State */
.loading {
  text-align: center;
  padding: 40px;
  color: var(--muted);
  font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

/* Responsive */
@media (max-width: 768px) {
  .admin-main {
    padding: 20px 12px;
  }

  .login-card {
    padding: 28px 20px;
  }

  .admin-card {
    padding: 20px 14px;
    border-radius: 12px;
  }
  
  .admin-card-header {
    margin-bottom: 20px;
  }
  
  .admin-card-header h2 {
    font-size: 20px;
  }

  .items-list {
    grid-template-columns: 1fr;
    max-height: 60vh;
  }
  
  .item-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .item-info {
    width: 100%;
  }

  .admin-controls {
    flex-direction: column;
    padding: 16px;
  }

  .control-group {
    width: 100%;
    min-width: 0;
  }

  .bulk-actions {
    flex-direction: column;
    width: 100%;
  }

  .bulk-actions .btn {
    width: 100%;
    min-height: 44px;
  }
  
  /* Header adjustments */
  .header h1 {
    font-size: 16px;
  }
  
  .header-actions {
    gap: 8px;
  }
  
  .header-actions .btn {
    padding: 8px 12px;
    font-size: 13px;
  }
  
  /* Quick Access Grid */
  .quick-access-card {
    padding: 20px;
  }
  
  .quick-access-icon {
    font-size: 40px;
    width: 56px;
    height: 56px;
  }
  
  .quick-access-info h3 {
    font-size: 16px;
  }
  
  .quick-access-info p {
    font-size: 12px;
  }
  
  /* Toggle switch - make larger for touch */
  .toggle-switch {
    width: 60px;
    height: 32px;
  }
  
  .toggle-slider:before {
    height: 24px;
    width: 24px;
  }
  
  .toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(28px);
  }
  
  /* Larger menu button for touch */
  .item-menu-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  /* Dropdown adjustments */
  .item-dropdown {
    min-width: 160px;
  }
  
  .item-dropdown-item {
    padding: 12px 16px;
    font-size: 14px;
    min-height: 44px;
  }
}

/* Toast Notification */
.toast-container {
  position: fixed;
  top: 100px;
  right: 20px;
  z-index: 10000;
  pointer-events: none;
}

.toast {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.15), 
    rgba(220, 255, 220, 0.12));
  border: 2px solid rgba(74, 222, 128, 0.5);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(74, 222, 128, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  animation: slideIn 0.3s ease;
  pointer-events: auto;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
}

.toast.toast-out {
  animation: slideOut 0.3s ease forwards;
}

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 
    0 0 16px rgba(74, 222, 128, 0.6),
    0 2px 8px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.toast-icon::after {
  content: '✓';
  color: white;
  font-size: 18px;
  font-weight: bold;
}

.toast-message {
  color: #e6eaf2;
  font-size: 14px;
  font-weight: 600;
  flex: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* Add Item Modal */
.add-item-modal {
  max-width: 500px;
  width: 90vw;
}

.add-item-modal h3 {
  margin: 0 0 20px 0;
  font-size: 20px;
}

.add-item-modal .form-group {
  margin-bottom: 16px;
}

.add-item-modal .form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.add-item-modal .form-group input,
.add-item-modal .form-group select {
  width: 100%;
  background: var(--panel-2);
  border: 1px solid #2a3142;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.add-item-modal .form-group input:focus,
.add-item-modal .form-group select:focus {
  outline: none;
  border-color: var(--accent);
}

.add-item-modal .form-group small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.add-item-modal menu {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin: 20px 0 0 0;
  padding: 0;
}

/* Scrollbar Styling - Modern, minimal design */
.items-list::-webkit-scrollbar {
  width: 6px;
}

.items-list::-webkit-scrollbar-track {
  background: transparent;
}

.items-list::-webkit-scrollbar-thumb {
  background: rgba(110, 168, 254, 0.3);
  border-radius: 10px;
  transition: background 0.2s;
}

.items-list::-webkit-scrollbar-thumb:hover {
  background: rgba(110, 168, 254, 0.5);
}

/* Firefox scrollbar */
.items-list {
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 168, 254, 0.3) transparent;
}

/* ============================================
   MAPPINGS EDITOR STYLES
   ============================================ */

.mappings-list {
  max-height: 600px;
  overflow-y: auto;
}

.mappings-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mappings-table-header {
  display: grid;
  grid-template-columns: 2fr 2fr 150px;
  gap: 1rem;
  padding: 1rem;
  background: rgba(110, 168, 254, 0.1);
  border-radius: 8px 8px 0 0;
  font-weight: 600;
  color: #6EA8FE;
  border-bottom: 2px solid rgba(110, 168, 254, 0.2);
}

.mapping-row {
  display: grid;
  grid-template-columns: 2fr 2fr 150px;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
  align-items: center;
}

.mapping-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mapping-row.changed {
  background: rgba(255, 193, 7, 0.1);
  border-left: 3px solid #FFC107;
}

.mapping-col-id code {
  background: rgba(110, 168, 254, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #6EA8FE;
}

.mapping-col-text .sign-text {
  color: #E0E0E0;
  font-family: 'Courier New', monospace;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
}

.mapping-col-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.btn-icon {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: rgba(110, 168, 254, 0.2);
  transform: scale(1.1);
}

.btn-icon.danger:hover {
  background: rgba(220, 53, 69, 0.2);
}

/* Add Mapping Modal */
.add-mapping-modal {
  max-width: 600px;
}

.mapping-examples {
  background: rgba(110, 168, 254, 0.05);
  border-left: 3px solid #6EA8FE;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1rem;
}

.mapping-examples strong {
  color: #6EA8FE;
  display: block;
  margin-bottom: 0.5rem;
}

.mapping-examples ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
}

.mapping-examples li {
  padding: 0.25rem 0;
  color: #B0B0B0;
}

.mapping-examples code {
  background: rgba(255, 255, 255, 0.05);
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  color: #FFC107;
  font-family: 'Courier New', monospace;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem;
  color: #707070;
}

/* Error state */
.error {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  color: #DC3545;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

/* Pulse animation for save button */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(110, 168, 254, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(110, 168, 254, 0);
  }
}

.btn.pulse {
  animation: pulse 2s infinite;
}

/* Scrollbar for mappings list */
.mappings-list::-webkit-scrollbar {
  width: 8px;
}

.mappings-list::-webkit-scrollbar-track {
  background: transparent;
}

.mappings-list::-webkit-scrollbar-thumb {
  background: rgba(110, 168, 254, 0.3);
  border-radius: 10px;
}

.mappings-list::-webkit-scrollbar-thumb:hover {
  background: rgba(110, 168, 254, 0.5);
}

.mappings-list {
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 168, 254, 0.3) transparent;
}

/* Responsive adjustments for mappings */
@media (max-width: 768px) {
  .mappings-table-header,
  .mapping-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .mappings-table-header {
    display: none; /* Hide header on mobile, row labels will be self-explanatory */
  }
  
  .mapping-row {
    padding: 1rem;
  }
  
  .mapping-col-id code,
  .mapping-col-text .sign-text {
    font-size: 0.85rem;
  }
  
  .mapping-col-actions {
    justify-content: flex-start;
    margin-top: 0.5rem;
  }
  
  .btn-icon {
    font-size: 1.4rem;
    padding: 0.5rem 0.75rem;
    min-width: 44px;
    min-height: 44px;
  }
  
  .toast-container {
    top: 80px;
    left: 12px;
    right: 12px;
  }
  
  .toast {
    min-width: 0;
    width: 100%;
  }
  
  .add-mapping-modal {
    max-width: calc(100vw - 24px);
  }
}

/* Quick Access Grid */
.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.quick-access-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(180deg, #101523, #0b0f19);
  border: 1px solid #2a3142;
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  cursor: pointer;
  animation: fadeIn 0.3s ease;
}

.quick-access-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(110, 168, 254, 0.2);
}

.quick-access-icon {
  font-size: 48px;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(110, 168, 254, 0.15), rgba(110, 168, 254, 0.05));
  border: 1px solid rgba(110, 168, 254, 0.3);
  border-radius: 12px;
  flex-shrink: 0;
}

.quick-access-info {
  flex: 1;
}

.quick-access-info h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.quick-access-info p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .quick-access-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-access-card {
    flex-direction: column;
    text-align: center;
  }
}

/* Small mobile (portrait) */
@media (max-width: 480px) {
  .admin-main {
    padding: 16px 10px;
  }
  
  .admin-card {
    padding: 16px 12px;
  }
  
  .admin-card-header h2 {
    font-size: 18px;
  }
  
  .admin-card-header .subtitle {
    font-size: 13px;
  }
  
  .login-card {
    padding: 24px 18px;
  }
  
  .login-header h2 {
    font-size: 20px;
  }
  
  .form-group input {
    font-size: 15px;
  }
  
  .admin-controls {
    padding: 12px;
  }
  
  .search-input,
  .category-select {
    font-size: 15px;
  }
  
  .item-row {
    padding: 12px;
  }
  
  .item-icon,
  .item-icon-placeholder {
    width: 36px;
    height: 36px;
  }
  
  .item-name {
    font-size: 13px;
  }
  
  .item-meta {
    font-size: 10px;
  }
  
  .quick-access-card {
    padding: 16px;
  }
  
  .quick-access-icon {
    font-size: 36px;
    width: 48px;
    height: 48px;
  }
  
  .quick-access-info h3 {
    font-size: 15px;
  }
  
  .quick-access-info p {
    font-size: 11px;
  }
  
  .header h1 {
    font-size: 15px;
  }
  
  .header-actions .btn {
    padding: 7px 10px;
    font-size: 12px;
  }
  
  .mapping-row {
    padding: 0.75rem;
  }
  
  .mapping-col-id code,
  .mapping-col-text .sign-text {
    font-size: 0.8rem;
  }
}

/* Touch device optimizations for admin */
@media (hover: none) and (pointer: coarse) {
  .item-row:hover {
    border-color: #2a3142;
    transform: none;
  }
  
  .item-row:active {
    border-color: #3a445b;
    transform: translateY(0) scale(0.98);
  }
  
  .btn:active {
    transform: scale(0.97);
    opacity: 0.9;
  }
  
  .quick-access-card:hover {
    border-color: #2a3142;
    transform: none;
  }
  
  .quick-access-card:active {
    border-color: var(--accent);
    transform: scale(0.98);
  }
  
  .item-menu-btn:hover {
    border-color: #2a3142;
    background: transparent;
  }
  
  .item-menu-btn:active {
    background: rgba(255, 255, 255, 0.05);
  }
  
  .item-dropdown-item:hover {
    background: transparent;
    color: var(--text);
  }
  
  .item-dropdown-item:active {
    background: rgba(110, 168, 254, 0.15);
    color: var(--accent);
  }
  
  .item-dropdown-item.danger:active {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
  }
}

