body {
  background-color: #0a192f;
  color: #e6f1ff;
  font-family: "Quicksand", sans-serif;
}

.navbar {
  background-color: rgba(10, 25, 47, 0.95) !important;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1050;
  padding: 15px 20px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
  border-bottom: 2px solid #0d6efd;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff !important;
  font-family: "Lobster", sans-serif;
  /* حجم أكبر للشعار */
  /* جعل الخط سميك */
  letter-spacing: 3px;
  /* توسيع المسافات بين الأحرف */
}

.navbar-nav .nav-link {
  font-size: 1.1rem;
  padding: 10px 15px;
  transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
  color: #0d6efd !important;
}
.navbar .nav-link {
  color: #f1f1f1 !important;
  font-size: 1.05rem;
  font-weight: 500;
  position: relative;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
}

.navbar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #0d6efd !important;
}

.navbar .nav-link.active {
  color: #0d6efd !important;
  background-color: rgba(255, 255, 255, 0.05);
}

.container-wrapper {
  position: relative;
  max-width: 700px;
  margin: auto;
}

.carousel-inner {
  height: 100vh;
}

.carousel-item {
  height: 695px;
}

.row,
.col-6 {
  margin-left: 0;
  margin-right: 0;
}

.content-container {
  background: linear-gradient(135deg, #112240 0%, #233554 100%);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

p span {
  color: #0d6efd;
  cursor: pointer;
}
.form-container {
  max-width: 500px;
  margin: 100px 91px;
  width: 100%;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  height: 442px;
}
.bg-body {
  background: url("../images/admin-bg.svg") no-repeat center center fixed;
  background-size: cover;
  justify-content: center;
  align-items: center;
  height: 100vh; /* تأكد من أن القسم يأخذ الارتفاع الكامل */
  width: 100%;
}
/* -----------home--------------- */
.feature-box {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-top: 20px;
  text-align: center;
  transition: all 0.3s ease, transform 0.3s ease;
  /* إضافة تأثرات الانتقال لجميع الخصائص */
}

.feature-box:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  /* تكبير الظل */
  transform: translateY(-8px);
  /* رفع العنصر قليلاً */
  background-color: #f0f0f0;
  /* تغيير لون الخلفية عند التمرير */
}

.feature-img {
  width: 100%;
  /* يعين العرض ليكون 100% من العنصر الحاوي */
  height: 200px;
  /* يحدد ارتفاع الصور ليكون 200px ثابت */
  object-fit: contain;
  /* تجعل الصورة تظهر بالكامل ضمن المساحة المحددة */
  border-radius: 10px;
  margin: 0 auto;
  /* يحسن التوسيط */
  display: block;
  /* يحسن التوسيط */
}

.navbar .nav-link {
  color: #f1f1f1 !important;
  font-size: 1.05rem;
  font-weight: 500;
  position: relative;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease-in-out;
}

.navbar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #0d6efd !important;
}

.navbar .nav-link.active {
  color: #0d6efd !important;
  background-color: rgba(255, 255, 255, 0.05);
}

.row {
  margin-top: 30px;
}
/* ------------profile user-------------------- */
.profile-section {
  padding-top: 40px;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.profile-info {
  margin-bottom: 20px;
}

.profile-actions a {
  margin-right: 20px;
  color: #0d6efd;
}
.stat-box {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    display: inline-block;
    text-align: center;
}

.stat-box h4 {
    font-size: 1.2rem;
    color: #0a192f;
    font-weight: 600;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.5rem;
    color: #007bff;
    font-weight: bold;
}

/* -------------sidebar admin-------------------------- */
/* الشريط الجانبي */
.sidebar {
  width: 300px;
  height: 100%;
  background-color: #071223;
  color: white;
  padding-top: 30px;
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar a {
  display: block;
  color: #f1f1f1;
  text-decoration: none;
  padding: 12px;
  margin: 5px 30px;
  border-radius: 5px;
  transition: 0.3s;
}

.sidebar a:hover {
  background-color: #007bff;
}
.sidebar a.active {
  background-color: #007bff;
  color: white;
  font-weight: bold;
}

/* ------------profile admin-------------------- */
.profile-box {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  width: 55%;
  margin: 10px auto;
}
/* تنسيق صورة البروفايل */
.profile-picture {
  width: 200px;
  height: 200px;
  border-radius: 50%; /* يجعل الصورة دائرية */
  object-fit: contain; /* يجعل الصورة تملأ الدائرة */
  margin-bottom: 15px;
}
.profile-header {
  text-align: center;
  margin-bottom: 20px;
}

.profile-header h2 {
  font-size: 2rem;
  color: #071223;
}

.profile-header p {
  font-size: 1.1rem;
  color: #5e6e75;
}

.profile-details {
  display: flex;
  justify-content: space-around;
  font-size: 1rem;
}

.profile-details strong {
  color: #007bff;
}
/* ----------------change password---------------- */
.form-section {
  max-width: 500px;
  margin: auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* -------tips------------ */
.btn-custom {
  background-color: #0d6efd;
  color: #fff;
  border-radius: 5px;
  padding: 10px 20px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  border: none;
}

.btn-custom:hover {
  background-color: #0b5ed7;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
  transform: translateY(-2px);
  color: #fff;
}

.tips-section {
  margin-top: 60px;
}

.tips-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.tips-list {
  list-style: none;
  padding-left: 0;
  width: 90%;
  margin: 0 auto;
}

.tips-list li {
  font-size: 1.2rem;
  margin-bottom: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.tips-list li:hover {
  background-color: #e9f7ff;
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.2);
}

.tip-heading {
  font-weight: bold;
  color: #0d6efd;
  margin-bottom: 10px;
}

.tip-icon {
  font-size: 2rem;
  color: #0d6efd;
  margin-right: 15px;
}

.row {
  margin-bottom: 30px;
}

.tip-description {
  font-size: 1rem;
  color: #555;
}

.cta-btn {
  margin-top: 40px;
  text-align: center;
}
/* ---------------checker--------------- */

.form-checker {
  background-color: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-top: 100px;
}

.result-box {
  margin-top: 20px;
  padding: 20px;
  border-radius: 10px;
  font-size: 1.2rem;
}

.safe {
  background-color: #d1e7dd;
  color: #0f5132;
}

.suspicious {
  background-color: #f8d7da;
  color: #842029;
}
