


@import url('../fonts/cairo/cairo.css');
@import url('../fonts/outfit.css');





@font-face {
  font-family: 'Neo Sans';
  src: url('../fonts/Neo Sans Std Regular.woff2') format('woff2');
  font-weight: normal; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Neo Sans';
  src: url('../fonts/Neo Sans Std Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Neo Sans';
  src: url('../fonts/Neo Sans Std Bold.woff2') format('woff2');
  font-weight: bold; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


@font-face {
  font-family: 'Neo Sans';
  src: url('../fonts/NeoSansArabic.woff2') format('woff2');
  font-weight: normal; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF,
                 U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'Neo Sans';
  src: url('../fonts/NeoSansArabicMedium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF,
                 U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'Neo Sans';
  src: url('../fonts/NeoSansArabicBold.woff2') format('woff2');
  font-weight: bold; font-style: normal; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF,
                 U+FB50-FDFF, U+FE70-FEFF;
}


:root {
  
  --primary: #4f46e5;
  --primary-light: #818cf8;
  --primary-dark: #3730a3;
  --secondary: #a5b4fc;
  --accent: #8b5cf6;
  --off-white: #fdfdfc;
  --soft-gray: #f8fafc;
  --deep-slate: #0f172a;
  --glass-bg: rgba(255, 255, 255, 0.75);
  
  --danger: #e11d48;
  --danger-light: #fb7185;
  --success: #0d9488;
  --warning: #d97706;

  
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  
  --fw-regular: 400;
  --fw-medium:  500;
  --fw-semibold: 600;
  --fw-bold:    700;

  
  --fs-2xl:   1.75rem;   
  --fs-xl:    1.35rem;   
  --fs-lg:    1.15rem;   
  --fs-md:    0.95rem;   
  --fs-sb:    1.05rem;   
  --fs-sbb:   0.925rem;  
  --fs-base:  0.875rem;  
  --fs-sm:    0.8125rem; 
  --fs-xs:    0.7rem;    
  --fs-2xs:   0.65rem;   
}

html, body {
  overscroll-behavior-y: none;
}

html[dir="rtl"] {
  --font-family: 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
}


.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.premium-shadow {
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);
}


* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-weight: var(--fw-regular);
  font-size: var(--fs-sm);
  background: #f8fafc; 
  min-height: 100vh;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #1e293b;
}


.bg-gradient-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
}

.bg-gradient-danger {
  background: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%) !important;
}

.bg-gradient-indigo {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
}

.bg-gradient-red-light {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%) !important;
}

.bg-gradient-pink {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%) !important;
}


.text-gradient-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.btn-pulse {
  position: relative;
  overflow: hidden;
}

.btn-pulse::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-pulse:hover::before {
  width: 300px;
  height: 300px;
  opacity: 0;
}


select.custom-select {
  background-image: linear-gradient(45deg, transparent 50%, #4f46e5 50%),
                    linear-gradient(135deg, #4f46e5 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1em + 2px),
                       calc(100% - 15px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  appearance: none;
}


.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}


@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
  0% { opacity: 0; transform: translateX(-20px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

.animate-slide-in {
  animation: slideIn 0.4s ease-in-out;
}

.animate-scale-in {
  animation: scaleIn 0.4s ease-in-out;
}


input:focus,
select:focus,
textarea:focus {
  outline: none;
}


.quick-date-btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0.75rem;
}

.quick-date-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.quick-date-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.goals-filter-btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0.75rem;
}
.goals-filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.goals-filter-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}


@keyframes gaco-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


#profile-header-avatar {
  transition: box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform   0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#merch-profile-toggle:hover #profile-header-avatar,
#user-profile-toggle:hover  #profile-header-avatar {
  box-shadow: 0 0 0 2px #fff,
              0 0 0 4px  rgba(79, 70, 229, 0.5),
              0 6px 18px rgba(79, 70, 229, 0.35) !important;
  transform: scale(1.08);
}

.avatar-dot {
  animation: avatarDotPulse 2.5s ease-in-out infinite;
}
@keyframes avatarDotPulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(52, 211, 153, 0.65); }
  50%       { box-shadow: 0 0 0 4px rgba(52, 211, 153, 0);   }
}


.skeleton-line    { height: 0.75rem; border-radius: 0.375rem; background: #e2e8f0; }
.skeleton-line-sm { height: 0.5rem;  border-radius: 0.375rem; background: #e2e8f0; }
.skeleton-circle  { border-radius: 9999px; background: #e2e8f0; }
.skeleton-card    { border-radius: 1.25rem; background: #f8fafc; border: 1px solid #f1f5f9; padding: 1.25rem; }


@media (max-width: 640px) {
  body {
    font-size: var(--fs-sm);
  }
}

@media (max-width: 768px) {
  :root {
    --fs-2xl:  1.35rem;
    --fs-xl:   1.1rem;
    --fs-lg:   0.95rem;
    --fs-md:   0.85rem;
    --fs-sb:   0.9rem;
    --fs-sbb:  0.8rem;
    --fs-base: 0.8rem;
    --fs-sm:   0.75rem;
    --fs-xs:   0.65rem;
    --fs-2xs:  0.6rem;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
