/* أنماط تجربة "محاولتي تصنع تقدّمي" المحدثة - نظام الأمان والحماية */

:root {
  --primary-pink: #FF8FAB;
  --secondary-purple: #CDB4DB;
  --accent-blue: #A2D2FF;
  --butter-yellow: #FDF0D5;
}

body {
  font-family: 'Tajawal', sans-serif;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

input, button, select, textarea {
  touch-action: manipulation;
}

/* Claymorphic UI */
.clay-card {
  background: #ffffff;
  box-shadow: 
    0 8px 20px -4px rgba(255, 143, 171, 0.12),
    0 6px 8px -4px rgba(162, 210, 255, 0.12),
    inset 0 -2px 0 0 rgba(0, 0, 0, 0.02);
}

.clay-btn {
  background: #ffffff;
  border-color: #FCE7F3;
  box-shadow: 0 3px 8px rgba(255, 143, 171, 0.1);
}

.clay-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 3px rgba(255, 143, 171, 0.1);
}

/* Navigation tabs */
.nav-tab {
  color: #6B7280;
  background-color: transparent;
  white-space: nowrap;
  border: 1.5px solid transparent;
}

.nav-tab.active {
  background-color: #FFE4EE;
  color: #BE185D;
  border-color: #FBCFE8;
  box-shadow: 0 2px 6px rgba(251, 207, 232, 0.7);
}

/* Cartoon Avatar Picker & Glow */
#headerUserAvatarWrap:hover #headerUserAvatar {
  transform: scale(1.08);
  border-color: #EC4899;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.4);
}

#headerUserAvatarWrap #headerUserAvatar {
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Wall filter chips */
.wall-filter {
  color: #4B5563;
  background-color: transparent;
}

.wall-filter.active {
  background-color: #EC4899;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(236, 72, 153, 0.35);
}

/* Modal animation */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-modal {
  animation: popIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Smooth transitions */
button, a {
  transition: all 0.15s ease;
}

button:active {
  transform: scale(0.97);
}

/* Tables for admin audit logs */
.audit-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.audit-table th {
  background-color: #F9FAFB;
  color: #4B5563;
  font-weight: 800;
  font-size: 11px;
  padding: 8px 10px;
  text-align: right;
  border-bottom: 2px solid #F3F4F6;
}

.audit-table td {
  padding: 8px 10px;
  font-size: 11px;
  border-bottom: 1px solid #F3F4F6;
  color: #374151;
}

.audit-table tr:hover td {
  background-color: #FFF5F8;
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #FFF5F8;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: #FBCFE8;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #F472B6;
}