/* تصميم عصري مستوحى من تطبيقات iOS و Android */
:root {
    --primary-color: #ff2d55; /* لون الأكشن - أحمر حيوي */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --card-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    color: #2d3436;
}

/* بطاقة الصوت (Apple Style) */
.transition-hover {
    transition: all 0.3s ease;
    border-radius: 18px !important;
}

.transition-hover:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12) !important;
}

/* تصميم الرفوف (Horizontal Scroll for Mobile) */
.custom-scrollbar::-webkit-scrollbar {
    display: none; /* إخفاء شريط التمرير لمظهر أنيق */
}

/* أزرار التحميل كأنها في المتجر */
.btn-app-store {
    background: #000;
    color: #fff;
    border-radius: 12px;
    padding: 10px 20px;
    transition: 0.3s;
}

/* تأثير الزجاج للهيدر */
.glass-header {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

/* الهيدر السفلي للهاتف */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
}

.bg-danger-soft { background-color: rgba(255, 45, 85, 0.1) !important; color: #ff2d55 !important; }
.bg-primary-soft { background-color: rgba(0, 122, 255, 0.1) !important; color: #007aff !important; }

.list-group-item-action:hover {
    background-color: #fbfbfb !important;
    transform: scale(1.01);
    transition: all 0.2s ease-in-out;
}

.icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* تأثير الطفو للصورة */
.floating-animation {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* زر التحميل المتفاعل */
.hover-up:hover {
    transform: scale(1.05);
    transition: 0.3s;
}

/* دائرة خلفية للجمالية */
.app-mockup-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: rgba(255, 45, 85, 0.2);
    filter: blur(50px);
    border-radius: 50%;
    z-index: -1;
}

/* تنسيق الـ Sidebar Links */
.sidebar__nav-link {
    display: inline-block;
    padding: 5px 15px;
    background: #f8f9fa;
    border-radius: 20px;
    text-decoration: none;
    color: #444;
    font-size: 0.85rem;
    transition: 0.3s;
}

.sidebar__nav-link:hover {
    background: #ff2d55;
    color: white;
}

  .icon-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
  }

  .list-group-item {
    font-size: 0.95rem;
    transition: all 0.2s ease;
  }

  .list-group-item:hover {
    background-color: #f8f9fa !important;
    padding-right: 1.25rem !important;
    /* حركة بسيطة عند التمرير */
  }

  .collapse.show+#moreBtn {
    display: none;
    /* إخفاء الزر بعد الفتح */
  }


  /* تأثير خلفية خفيفة للروابط النشطة */
.bg-danger-soft {
    background-color: rgba(255, 45, 85, 0.08) !important;
}

/* تعديل مظهر الـ Offcanvas ليشبه التطبيقات */
.offcanvas {
    background-color: #ffffff;
}

.offcanvas .list-group-item {
    font-size: 0.95rem;
    transition: 0.2s;
}

.offcanvas .list-group-item:active {
    background-color: #f8f9fa;
}

/* تنسيق الروابط في السايدبار للهاتف */
.sidebar__nav-link {
    text-decoration: none;
    color: #444;
    display: block;
}

  /* تحسينات إضافية لجعل التصميم "ينطق" */
  .hover-bg-white:hover {
    background-color: white !important;
    color: #1a1a1a !important;
  }

  .transition-all {
    transition: all 0.3s ease-in-out;
  }

  .hover-up:hover {
    transform: translateY(-5px);
  }

  .app-mockup-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.2) 0%, transparent 70%);
    z-index: 1;
  }

  .floating-animation {
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
  }

  @keyframes float {
    0% {
      transform: translateY(0px);
    }

    50% {
      transform: translateY(-20px);
    }

    100% {
      transform: translateY(0px);
    }
  }