@font-face {
  font-family: "Vazir";
  src: url("../fonts/Vazir.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Vazir";
  line-height: 1.6;
  color: #333 !important;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  background-color: #000;
  min-height: 100vh;
  padding: 20px;
}

a {
  text-decoration: none;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  /* background: rgba(255, 255, 255, 0.95); */
  background-color: gray;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 30px;
}

header {
  text-align: center;
  padding: 30px 0;
  background: linear-gradient(135deg, #4a90e2, #5a6ae4);
  color: white;
  border-radius: 15px;
  margin-bottom: 30px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}

.card h2 {
  color: #4a90e2;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card ul {
  list-style: none;
  padding-right: 20px;
}

.card li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 1.1rem;
}

.card li:before {
  content: "✓ ";
  color: #4caf50;
  font-weight: bold;
  margin-left: 10px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.feature-btn {
  padding: 15px;
  background: #4a90e2;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.feature-btn:hover {
  background: #357ae8;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.btn {
  padding: 12px 30px;
  background: #4caf50;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  margin: 10px 5px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #45a049;
  transform: translateY(-2px);
}

.btn.secondary {
  background: #f0ad4e;
}

.btn.secondary:hover {
  background: #ec971f;
}

.btn.hidden {
  display: none;
}

#pwa-status {
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  margin-bottom: 20px;
  border-right: 4px solid #4a90e2;
}

footer {
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  color: #666;
  /* border-top: 1px solid #eee; */
}

#offline-status {
  font-weight: bold;
  color: #4caf50;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 15px;
  }

  header h1 {
    font-size: 2rem;
  }

  .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
  }

  .card {
    padding: 15px;
  }

  .btn {
    width: 100%;
    margin: 5px 0;
  }
}

/* ######################################################### */
.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-around {
  justify-content: space-around;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-10 {
  gap: 40px;
}

.gap-2 {
  gap: 8px;
}

.gap-4 {
  gap: 16px;
}

.justify-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

.wrap-break-word {
  overflow-wrap: break-word;
}

.text-md {
  font-size: 1.25rem;
  border-radius: 6px;
  /* padding: 8px; */
  box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.5);
  background-color: #eee;
}

.p-1 {
  padding: 8px;
}

.bg-emerald-50 {
  background-color: oklch(97.9% 0.021 166.113);
}
.bg-blue-50 {
  background-color: oklch(97% 0.014 254.604);
}
.bg-rose-50 {
  background-color: oklch(96.9% 0.015 12.422);
}
.bg-fuchsia-50 {
  background-color: oklch(97.7% 0.017 320.058);
}

.hover-emerald-300 {
  color: oklch(84.5% 0.143 164.978);
}
.hover-blue-300 {
  color: oklch(80.9% 0.105 251.813);
}
.hover-rose-300 {
  color: oklch(83.3% 0.145 321.434);
}
.hover-fuchsia-300 {
  color: oklch(81% 0.117 11.638);
}

/* .text-emerald-300 {
  color: oklch(76.5% 0.177 163.223);
}
.text-blue-300 {
  color: oklch(70.7% 0.165 254.624);
}
.text-rose-300 {
  color: oklch(71.2% 0.194 13.428);
}
.text-fuchsia-300 {
  color: oklch(74% 0.238 322.16);
} */

.text-emerald-300:hover {
  background-color: oklch(97.9% 0.021 166.113);
}
.text-blue-300:hover {
  background-color: oklch(97% 0.014 254.604);
}
.text-rose-300:hover {
  background-color: oklch(96.9% 0.015 12.422);
}
.text-fuchsia-300:hover {
  background-color: oklch(97.7% 0.017 320.058);
}

.rounded-md {
  border-radius: 6px;
}

.bg-cartable {
  background-image: url(./icons/envelope.svg), none;
  width: 24px;
  height: 24px;
}

.bg-joonia {
  background-image: url(./icons/shopping-cart.svg), none;
  width: 24px;
  height: 24px;
}

.bg-personnel {
  background-image: url(./icons/users.svg), none;
  width: 24px;
  height: 24px;
}

.bg-staff {
  background-image: url(./icons/warehouse.svg), none;
  width: 24px;
  height: 24px;
}
