/* assets/css/style.css */

/* اضافه کردن فونت فارسی */
@font-face {
  font-family: sa;
  src: url('/assets/fonts/IRANYekanWebRegular.ttf');
}

/* تنظیمات برای بدنه صفحه */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  flex-direction: column;
}

/* تنظیمات برای محتوای اصلی صفحه */
.main-content {
  flex: 1;
}

p{
  text-align: center;
}

/* استایل‌های فوتر */
.footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 15px;
}

body {
  margin: 0;
  padding: 0;
  padding-top: 70px;
  font-family: sa;
  direction: rtl;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  margin: 15px 0;
}

p {
  margin: 10px 0;
}

/* حالت دارک مود */
[data-theme="dark"] {
  background-color: #121212;
  color: #ff0000;
}

[data-theme="dark"] .navbar {
  background-color: #333333;
}

[data-theme="dark"] .order-card {
  background-color: rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .cart-item {
  background-color: rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .user-card {
  background-color: rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .container {
  background-color: #333333;
}

[data-theme="dark"] textarea, input, select {
  background-color: rgb(28, 28, 30);
  color: white;
}


[data-theme="dark"] .btn {
  background-color: #555555;
}

[data-theme="dark"] .product-card {
  background-color: #333333;
}

[data-theme="dark"] .card {
  background-color: rgba(0, 0, 0, 0.2);
}

/* حالت لایت مود */
[data-theme="light"] {
  background-color: #ffffff;
  color: #000000;
}

[data-theme="light"] .navbar {
  background-color: #f8f8f8;
}

[data-theme="light"] .container {
  background-color: #f8f8f8;
}

[data-theme="light"] .btn {
  background-color: #e0e0e0;
}

[data-theme="light"] .product-card {
  background-color: #f8f8f8;
}

/* استایل‌های عمومی */

/* استایل‌های مربوط به ناوبری (Navbar) */

.navbar {
  background-color: #333; /* رنگ پس‌زمینه */
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navholder {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-toggle {
  display: none; /* در دسکتاپ مخفی است */
}

.nav-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  transition: 500ms;
}

.nav-menu li {
  margin-left: 20px;
}

.nav-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: #ff9800; /* رنگ لینک هنگام هاور */
}

/* استایل دکمه تغییر تم */
.theme-switch {
  margin-left: 20px;
}

/* استایل‌های ریسپانسیو برای موبایل */
@media (max-width: 768px) {
  .menu-toggle {
      display: block;
      cursor: pointer;
  }

  .menu-toggle span {
      display: block;
      width: 25px;
      height: 3px;
      background-color: #fff;
      margin: 5px 0;
      transition: all 0.3s ease;
  }

  .nav-menu {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      right: 0;
      background-color: #333;
      width: 100%;
      line-height: 50px;
  }

  .nav-menu.active {
      display: flex;
      transition: 500ms;
  }

  .nav-menu li {
      margin: 0;
  }

  .nav-menu li a {
      padding: 15px;
      border-bottom: 1px solid #444;
  }

  /* انیمیشن دکمه منو هنگام باز شدن */
  .menu-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
      opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -8px);
  }

  /* تنظیمات سایت‌نام در موبایل */
  .navholder {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
  }
}

/* استایل‌های دکمه‌ها */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007BFF;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  font-family: sa;
  width: 80%;
}

.btn:hover {
  background-color: #0056b3;
}

@media (max-width: 576px) {
  .btn {
      width: 80%;
      padding: 10px;
      font-size: 16px;
  }
}

/* استایل کانتینرها */
.container {
  padding: 20px;
  margin: 20px auto;
  border-radius: 5px;
  max-width: 1200px;
  box-sizing: border-box;
}

@media (max-width: 576px) {
  body {
      font-size: 14px;
  }

  .container {
      padding: 15px;
      margin: 15px auto;
  }
}

/* استایل‌های محصولات */
.product-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 15px;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .product-container {
      grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .product-container {
      grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .product-container {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .product-container {
      grid-template-columns: 1fr;
      padding: 0 10px;
  }
}

.product-card {
  background-color: #fff;
  padding: 15px;
  text-align: center;
  place-items: center;
  box-sizing: border-box;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-card h3 {
  font-size: 18px;
  margin: 10px 0;
}

.product-card p {
  font-size: 16px;
  color: #555;
  margin: 10px 0;
}

.product-card .btn {
  margin-top: 10px;
}

@media (max-width: 576px) {
  .product-card {
      padding: 10px;
  }

  .product-card h3, .product-card p {
      font-size: 14px;
  }

  .product-card .btn {
      padding: 10px;
      font-size: 16px;
      width: 95%;
  }
}

/* استایل‌های فرم‌ها */
form {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input, textarea, select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  box-sizing: border-box;
  font-family: sa;
  border-radius: 8px;
}

input{
  font-family: sa;
  font-weight: 500;
  font-size: 0.8vw;
  color: #fff;
  box-shadow: 0 0 .4vw rgba(0,0,0,0.5), 0 0 0 .15vw transparent;
  border-radius: 0.4vw;
  border: none;
  outline: none;
  padding: 0.4vw;
  max-width: 100%;
  transition: .4s;
}

input:hover{
  box-shadow: 0 0 0 .15vw rgba(135, 207, 235, 0.186);
}

input:focus {
  box-shadow: 0 0 0 .15vw skyblue;
}

@media (max-width: 576px) {
  input, textarea, select {
      padding: 8px;
      font-size: 3.5vw;
      border-radius: 8px;
  }
}

/* سوئیچ حالت دارک مود */
.theme-switch {
  position: absolute;
  top: 15px;
  left: 15px;
}

.theme-switch input {
  display: none;
}

.slider {
  width: 40px;
  height: 20px;
  left: 20px;
  background-color: #ccc;
  display: inline-block;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
}

.slider::after {
  content: '';
  width: 18px;
  height: 18px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  left: 1px;
  top: 1px;
  transition: all 0.3s;
}

input:checked + .slider::after {
  left: 21px;
}

/* admin panel */
/* استایل‌های پنل مدیریت */
.dashboard-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.card {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  flex: 1 1 calc(25% - 20px);
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.admin-actions {
  margin-top: 40px;
}

.admin-actions h2 {
  margin-bottom: 20px;
}

.admin-actions ul {
  list-style: none;
  padding: 0;
  place-items: center;
}

.admin-actions li {
  margin-bottom: 15px;
}

.admin-actions .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #28A745;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  width: 300px;
}

.admin-actions .btn:hover {
  background-color: #218838;
}

/* استایل‌های جدول برای بخش ادمین */
/* استایل‌های فرم‌ها */
form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

form input, form select, form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  box-sizing: border-box;
}

form select[multiple] {
  height: 150px;
}

form button.btn {
  width: 80%;
  padding: 10px;
  background-color: #28A745;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
}

form button.btn:hover {
  background-color: #218838;
}

/* استایل‌های جدول مدیریت محصولات */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.admin-table th, .admin-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.admin-table th {
  background-color: #f8f8f8;
  font-weight: bold;
}

.admin-table tr:hover {
  background-color: #f1f1f1;
}

.admin-table img {
  border-radius: 5px;
}

.admin-table .btn {
  display: inline-block;
  padding: 5px 10px;
  background-color: #007BFF;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
}

.admin-table .btn:hover {
  background-color: #0056b3;
}

/* ریسپانسیو کردن جدول‌ها */
@media (max-width: 768px) {
  .admin-table thead {
      display: none;
  }

  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td {
      display: block;
      width: 100%;
  }

  .admin-table tr {
      margin-bottom: 15px;
  }

  .admin-table td {
      text-align: right;
      padding-left: 50%;
      position: relative;
  }

  .admin-table td::before {
      content: attr(data-label);
      position: absolute;
      left: 0;
      width: 50%;
      padding-left: 15px;
      font-weight: bold;
      text-align: left;
  }
}

/* مخفی کردن چیدمان موبایل به صورت پیش‌فرض */
.cart-mobile {
  display: none;
}

/* نمایش چیدمان دسکتاپ به صورت پیش‌فرض */
.cart-desktop {
  display: block;
}

/* استایل‌های جدول سبد خرید (همانند قبل) */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.cart-table th, .cart-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.cart-table th {
  background-color: #f8f8f8;
  font-weight: bold;
}

.cart-table img.cart-image {
  width: 80px;
  height: auto;
  border-radius: 5px;
}

/* استایل‌های کارت‌های سبد خرید */
.cart-mobile {
  display: none;
}

.cart-item {
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.cart-item-image {
  flex: 1 1 150px;
  max-width: 150px;
}

.cart-item-image img {
  width: 100%;
  height: auto;
  display: block;
}

.cart-item-details {
  flex: 2 1 300px;
  padding: 15px;
}

.cart-item-details h3 {
  margin-top: 0;
}

.cart-item-details p {
  margin: 5px 0;
}

.cart-item-form {
  margin-top: 10px;
}

.cart-item-form input[type="number"] {
  width: 60px;
  padding: 5px;
  margin-right: 5px;
}

.cart-item-form .btn {
  padding: 5px 10px;
  font-size: 14px;
}

.btn-danger {
  background-color: #dc3545;
}

.btn-danger:hover {
  background-color: #c82333;
}

/* وقتی عرض صفحه کمتر یا مساوی 768 پیکسل است */
@media (max-width: 768px) {
  /* نمایش چیدمان موبایل */
  .cart-mobile {
      display: block;
      place-items: center;
  }

  /* مخفی کردن چیدمان دسکتاپ */
  .cart-desktop {
      display: none;
  }

  /* تنظیمات ریسپانسیو برای کارت‌ها */
  .cart-item {
      flex-direction: column;
      align-items: center;
  }

  .cart-item-image, .cart-item-details {
      max-width: 100%;
      flex: none;
  }

  .cart-item-details {
      text-align: center;
  }

  .cart-item-form {
      justify-content: center;
  }
}

/* مخفی کردن چیدمان موبایل به صورت پیش‌فرض */
.product-cards-mobile {
  display: none;
}

/* نمایش چیدمان دسکتاپ به صورت پیش‌فرض */
.product-table-desktop {
  display: block;
}

/* استایل‌های جدول مدیریت محصولات */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.admin-table th, .admin-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.admin-table th {
  background-color: #f8f8f8;
  font-weight: bold;
}

.admin-table tr:hover {
  background-color: #f1f1f1;
}

.admin-table img {
  border-radius: 5px;
}

.admin-table .btn {
  display: inline-block;
  padding: 5px 10px;
  background-color: #007BFF;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 5px;
}

.admin-table .btn-danger {
  background-color: #dc3545;
}

.admin-table .btn:hover {
  background-color: #0056b3;
}

.admin-table .btn-danger:hover {
  background-color: #c82333;
}

/* استایل‌های کارت‌های محصولات */
.product-cards-mobile {
  display: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.product-card-image img {
  width: 100%;
  height: auto;
  display: block;
}

.product-card-details {
  padding: 15px;
}

.product-card-details h3 {
  margin-top: 0;
}

.product-card-details p {
  margin: 5px 0;
}

.product-card-actions {
  margin-top: 10px;
}

.product-card-actions .btn {
  display: inline-block;
  padding: 5px 10px;
  font-size: 14px;
  margin-right: 5px;
}

.product-card-actions .btn-danger {
  background-color: #dc3545;
}

.product-card-actions .btn:hover {
  background-color: #0056b3;
}

.product-card-actions .btn-danger:hover {
  background-color: #c82333;
}

/* تنظیم نمایش در موبایل */
@media (max-width: 768px) {
  /* نمایش چیدمان موبایل */
  .product-cards-mobile {
      display: block;
  }

  /* مخفی کردن چیدمان دسکتاپ */
  .product-table-desktop {
      display: none;
  }

  /* تنظیمات کارت‌ها در موبایل */
  .product-card {
      flex-direction: column;
  }

  .product-card-details {
      text-align: center;
  }

  .product-card-actions {
      justify-content: center;
  }
}


/* مخفی کردن چیدمان موبایل به صورت پیش‌فرض */
.user-cards-mobile {
  display: none;
}

/* نمایش چیدمان دسکتاپ به صورت پیش‌فرض */
.user-table-desktop {
  display: block;
}

/* استایل‌های جدول کاربران */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.admin-table th, .admin-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.admin-table th {
  background-color: #f8f8f8;
  font-weight: bold;
}

.admin-table tr:hover {
  background-color: #f1f1f1;
}

.admin-table .btn {
  display: inline-block;
  padding: 5px 10px;
  background-color: #007BFF;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 5px;
}

.admin-table .btn-danger {
  background-color: #dc3545;
}

.admin-table .btn:hover {
  background-color: #0056b3;
}

.admin-table .btn-danger:hover {
  background-color: #c82333;
}

/* استایل‌های کارت‌های کاربران */
.user-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.user-card h3 {
  margin-top: 0;
}

.user-card p {
  margin: 5px 0;
}

.user-card-actions {
  margin-top: 10px;
}

.user-card-actions .btn {
  display: inline-block;
  padding: 5px 10px;
  font-size: 14px;
  margin-right: 5px;
}

.user-card-actions .btn-danger {
  background-color: #dc3545;
}

.user-card-actions .btn:hover {
  background-color: #0056b3;
}

.user-card-actions .btn-danger:hover {
  background-color: #c82333;
}

/* تنظیم نمایش در موبایل */
@media (max-width: 768px) {
  /* نمایش چیدمان موبایل */
  .user-cards-mobile {
      display: block;
  }

  /* مخفی کردن چیدمان دسکتاپ */
  .user-table-desktop {
      display: none;
  }

  /* تنظیمات کارت‌ها در موبایل */
  .user-card {
      text-align: center;
  }

  .user-card-actions {
      justify-content: center;
  }
}

/* مخفی کردن چیدمان موبایل به صورت پیش‌فرض */
.order-cards-mobile {
  display: none;
}

/* نمایش چیدمان دسکتاپ به صورت پیش‌فرض */
.order-table-desktop {
  display: block;
}

/* استایل‌های جدول سفارشات */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.admin-table th, .admin-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.admin-table th {
  background-color: #f8f8f8;
  font-weight: bold;
}

.admin-table tr:hover {
  background-color: #f1f1f1;
}

.admin-table .btn {
  display: inline-block;
  padding: 5px 10px;
  background-color: #007BFF;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 5px;
}

.admin-table .btn-danger {
  background-color: #dc3545;
}

.admin-table .btn:hover {
  background-color: #0056b3;
}

.admin-table .btn-danger:hover {
  background-color: #c82333;
}

/* استایل‌های کارت‌های سفارشات */
.order-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.order-card h3 {
  margin-top: 0;
}

.order-card p {
  margin: 5px 0;
}

.order-card-actions {
  margin-top: 10px;
}

.order-card-actions .btn {
  display: inline-block;
  padding: 5px 10px;
  font-size: 14px;
  margin-right: 5px;
}

.order-card-actions .btn-danger {
  background-color: #dc3545;
}

.order-card-actions .btn:hover {
  background-color: #0056b3;
}

.order-card-actions .btn-danger:hover {
  background-color: #c82333;
}

/* تنظیم نمایش در موبایل */
@media (max-width: 768px) {
  /* نمایش چیدمان موبایل */
  .order-cards-mobile {
      display: block;
  }

  /* مخفی کردن چیدمان دسکتاپ */
  .order-table-desktop {
      display: none;
  }

  /* تنظیمات کارت‌ها در موبایل */
  .order-card {
      text-align: center;
  }

  .order-card-actions {
      justify-content: center;
  }
}

/* مخفی کردن چیدمان موبایل به صورت پیش‌فرض */
.order-items-mobile {
  display: none;
}

/* نمایش چیدمان دسکتاپ به صورت پیش‌فرض */
.order-items-desktop {
  display: block;
}

/* استایل‌های جدول آیتم‌های سفارش */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.admin-table th, .admin-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.admin-table th {
  background-color: #f8f8f8;
  font-weight: bold;
}

.admin-table tr:hover {
  background-color: #f1f1f1;
}

/* استایل‌های کارت‌های آیتم‌های سفارش */
.order-item-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.order-item-card h3 {
  margin-top: 0;
}

.order-item-card p {
  margin: 5px 0;
}

/* تنظیم نمایش در موبایل */
@media (max-width: 768px) {
  /* نمایش چیدمان موبایل */
  .order-items-mobile {
      display: block;
  }

  /* مخفی کردن چیدمان دسکتاپ */
  .order-items-desktop {
      display: none;
  }

  /* تنظیمات کارت‌ها در موبایل */
  .order-item-card {
      text-align: center;
  }
}

/* مخفی کردن چیدمان موبایل به صورت پیش‌فرض */
.order-items-mobile {
  display: none;
}

/* نمایش چیدمان دسکتاپ به صورت پیش‌فرض */
.order-items-desktop {
  display: block;
}

/* استایل‌های جدول آیتم‌های سفارش */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.admin-table th, .admin-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.admin-table th {
  background-color: #f8f8f8;
  font-weight: bold;
}

.admin-table tr:hover {
  background-color: #f1f1f1;
}

/* استایل‌های کارت‌های آیتم‌های سفارش */
.order-item-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.order-item-card h3 {
  margin-top: 0;
}

.order-item-card p {
  margin: 5px 0;
}

/* تنظیم نمایش در موبایل */
@media (max-width: 768px) {
  /* نمایش چیدمان موبایل */
  .order-items-mobile {
      display: block;
  }

  /* مخفی کردن چیدمان دسکتاپ */
  .order-items-desktop {
      display: none;
  }

  /* تنظیمات کارت‌ها در موبایل */
  .order-item-card {
      text-align: center;
  }
}

.profile-container {
    display: flex;
}

.profile-sidebar {
    width: 200px;
    margin-right: 20px;
    border-right: 1px solid #ccc;
}

.profile-content {
    flex: 1;
}

.profile-sidebar h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

.profile-sidebar ul {
    list-style-type: none;
    padding: 0;
}

.profile-sidebar ul li {
    margin-bottom: 10px;
}

.profile-sidebar ul li a {
    text-decoration: none;
    color: #000;
}

.profile-sidebar ul li a:hover {
    text-decoration: underline;
}

/* assets/css/style.css */

/* assets/css/style.css */

/* استایل برای دسکتاپ */
.wallet-requests-desktop {
  display: table;
  width: 100%;
  margin-bottom: 20px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  border: 1px solid #ddd;
  padding: 8px;
}

.admin-table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #f2f2f2;
  color: black;
}

/* استایل برای موبایل */
.wallet-requests-mobile {
  display: none;
}

.wallet-request-card {
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 15px;
  background-color: #f9f9f9;
}

.wallet-request-form {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

/* رسپانسیو کردن */
@media screen and (max-width: 768px) {
  .wallet-requests-desktop {
      display: none;
  }

  .wallet-requests-mobile {
      display: block;
  }

  .wallet-request-form {
      flex-direction: column;
  }

  .wallet-request-form button {
      width: 100%;
      margin-bottom: 5px;
  }
}

/* assets/css/style.css */

/* assets/css/style.css */

/* تنظیمات برای نمایش ساعت و تاریخ 
.datetime-display {
  display: inline-block;
  font-size: 14px;
  color: #fff;
  margin-left: 10px;
  white-space: nowrap;
}

.theme-switch {
  display: flex;
  align-items: center;
}*/

/* assets/css/style.css */

/* استایل‌های پیام خطا */
.error-message {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 15px;
  margin: 20px 0;
  text-align: center;
  font-size: 16px;
}

/* assets/css/style.css */

/* assets/css/style.css */

/* استایل برای فاکتور */
.invoice {
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 5px;
  background-color: #f9f9f9;
  margin-top: 20px;
}

.invoice h3, .invoice h4 {
  margin-top: 0;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.invoice-table th, .invoice-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.invoice-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.invoice-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* assets/css/style.css */

/* استایل برای پیام ورود */
.login-message {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
  font-size: 18px;
  color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* استایل برای دکمه ورود */
.login-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #308d46;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-button:hover {
  background-color: #26733a;
}

/* تنظیمات خاص برای موبایل */
@media (max-width: 768px) {
  .login-message {
      font-size: 16px;
      padding: 15px;
  }

  .login-button {
      padding: 8px 16px;
      font-size: 14px;
  }
}

/* assets/css/style.css */

/* استایل برای پیام‌های موفقیت */
.alert-success {
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
    color: #3c763d;
    text-align: center;
    font-size: 18px;
}

/* استایل برای پیام‌های خطا */
.alert-danger {
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
    color: #a94442;
    text-align: center;
    font-size: 18px;
}

/* استایل برای پیام‌های هشدار */
.alert-warning {
    background-color: #fcf8e3;
    border: 1px solid #faebcc;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
    color: #8a6d3b;
    text-align: center;
    font-size: 18px;
}

/* assets/css/style.css */

/* استایل برای فرم و ورودی‌ها */
.form-group {
  margin-bottom: -5px; /* کاهش فاصله بین ورودی‌ها */
}

.form-group label {
  display: block;
  margin-bottom: 4px;
  font-weight: bold;
}

.form-group input {
  width: 100%;
  padding: 10px; /* کاهش padding برای فضای کمتر */
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px; /* کاهش اندازه فونت برای فضای کمتر */
}

/* استایل برای فرم-ردیف */
.form-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px; /* کاهش فاصله بین ردیف‌ها */
}

/* استایل برای خطاها */
.error-message {
  color: #b22222;
  font-size: 12px; /* کاهش اندازه فونت برای فضای کمتر */
  margin-top: 1px;
}

/* تنظیمات موبایل */
@media (max-width: 768px) {
  .form-row {
      flex-direction: column;
  }
}
