@font-face {
  font-family: 'BYekan';
  src: url('/static/fonts/BYekan/BYekan.woff2') format('woff2'),
       url('/static/fonts/BYekan/BYekan.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body ,* {
  font-family: 'BYekan', sans-serif;
  font-size: 1rem;
}

.imgc {
  border-radius: 2rem;
}

@media (max-width: 768px) {
  .navbar-nav.flex-row {
    flex-direction: column !important;
  }
}

html, body {
  height: 100%;
  margin: 0;
  font-size: 16px;
}

body {
  display: flex;
  flex-direction: column;
}

.container.mt-4 {
  flex: 1 0 auto;
}

footer.navbar {
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.blubox {
  padding: 20px;
  background: linear-gradient(to right, #00b4db, #0083b0);
  color: white;
  border: 1px solid #ffffff;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.white-text {
  color: rgb(255, 255, 255);
}

.blu {
  background: linear-gradient(to right, #00b4db, #0083b0);
  color: #ffffff;
}

.box {
  width: 42vh;
  height: 25vh;
  padding: 1rem;
  border-radius: 2rem;
  margin: 2vh;
  margin-bottom: 2rem;
}

.form-container {
  width: 50vh;
  margin: 0 auto;
  padding: 20px;
  background-color: #f4f4f9;
  border-radius: 2vh;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 4vh;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  font-size: 16px;
  font-weight: bold;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.form-group button {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

.form-group button:hover {
  background-color: #0056b3;
}

.pagination {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  justify-content: center;
}

.pagination a {
  text-decoration: none;
  padding: 8px 12px;
  margin: 0 5px;
  border: 1px solid #007bff;
  color: #007bff;
  border-radius: 5px;
}

.pagination span {
  font-weight: bold;
  margin: 0 10px;
}

.bold {
  font-weight: bold;
}

@media (max-width: 768px) {
  body {
    font-size: 1.2rem;
  }

  .form-container {
    width: 80%;
  }

  .menu-container {
    height: 50vh;
  }

  .box {
    width: 45vh;
    height: 40vh;
    padding: 2rem;
    border-radius: 2rem;
  }
}

.btm {
  padding: 0.4;
  width: 20vh;
  margin-bottom: 2vh;
}

.menu-container {
  height: 60vh;
  padding: 20px;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  border-radius: 40px;
}

.menu-list {
  list-style: none;
  padding: 0;
}

.menu-list li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.menu-list li a {
  text-decoration: none;
  color: #333;
  display: block;
}

.content-container {
  padding: 20px;
}

.subscription-box {
  padding: 15px;
  text-align: center;
  border-radius: 3vh;
  margin-bottom: 20px;
}

@media (prefers-color-scheme: dark) {
  body {
    background: none !important;
    background-color: #121212 !important;
    color: #ffffff;
  }

  .form-container {
    background-color: #1e1e1e;
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
  }

  .form-group input {
    background-color: #2c2c2c;
    border: 1px solid #555;
    color: white;
  }

  .form-group button {
    background-color: #2196f3;
  }

  .form-group button:hover {
    background-color: #1976d2;
  }

  .menu-container {
    background-color: #1e1e1e;
    box-shadow: none;
  }

  .menu-list li {
    border-bottom: 1px solid #444;
  }

  .menu-list li a {
    color: #ddd;
  }

  .blubox,
  .blu {
    background: linear-gradient(to right, #00b4db, #0083b0);
    color: white;
  }

  .box {
    background-color: #1f1f1f;
    color: white;
    border: 1px solid #444;
  }

  .pagination a {
    color: #90caf9;
    border-color: #90caf9;
  }

  .pagination span {
    color: #ffffff;
  }

  footer.navbar {
    background-color: #1e1e1e;
    box-shadow: 0 -2px 6px rgba(255, 255, 255, 0.1);
  }

  .table-light {
    background-color: #2b2b2b !important;
    color: #ffffff !important;
  }

  .bg-white {
    background-color: #1e1e1e !important;
    color: #ffffff !important;
  }

  .bg-light {
    background-color: #2a2a2a !important;
    color: #ffffff !important;
  }

  .card {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
  }

  .table td, .table th {
    border-color: #444 !important;
  }

  .modal-content {
    background-color: #1e1e1e !important;
    color: #fff;
  }

  .btn-close {
    filter: invert(1);
  }

  .card-header {
    background-color: #222 !important;
    color: white !important;
  }

  .table {
    color: #f1f1f1 !important;
  }

  .text-body {
    color: #eee !important;
  }

  .alert-info {
    background-color: #1c1c1c;
    color: #ddd;
    border-color: #333;
  }

  .accordion-item {
    background-color: #1e1e1e;
    border-color: #333;
  }

  .accordion-button {
    background-color: #2a2a2a;
    color: #fff;
  }
  .blog-text{
    color: #ddd;
  }
  .accordion-button:not(.collapsed) {
    background-color: #333;
    color: #fff;
  }

  .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(100, 100, 255, 0.25);
  }

  .accordion-body {
    background-color: #1e1e1e;
    color: #ddd;
  }
}

.navbar-gradient {
  background: linear-gradient(to right, #56ccf2, #2f80ed) !important;
}


.support-chat-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid #dce3ea;
  border-radius: 8px;
  text-decoration: none;
  color: #fff; /* چون هدر تیره هست */
  background-color: transparent;
  transition: background 0.2s, color 0.2s;
  font-size: 0.95rem;
}

.support-chat-link:hover {
  background-color: rgba(255,255,255,0.1);
  color: #f8f9fa;
  text-decoration: none;
}
