/* پورحسین — استایل سفارشی */
* { box-sizing: border-box; }
body { font-family: 'Vazirmatn', 'Tahoma', sans-serif; }

/* کارت‌ها */
.card { background: #fff; border-radius: 1rem; border: 1px solid #f1f5f9; box-shadow: 0 1px 4px rgba(0,0,0,.06); }

/* ورودی‌ها */
.input {
  width: 100%; border-radius: .75rem; border: 1px solid #e2e8f0;
  padding: .65rem 1rem; font-size: .875rem; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: none; border-color: #00B195; box-shadow: 0 0 0 3px rgba(0,177,149,.12); }

/* دکمه‌ها */
.btn-cargo {
  display: inline-block; background: #00B195; color: #fff;
  font-weight: 600; padding: .5rem 1rem; border-radius: .75rem;
  border: none; cursor: pointer; font-family: inherit; font-size: .875rem;
  transition: background .2s; text-decoration: none; text-align: center;
}
.btn-cargo:hover { background: #009c82; }

.btn-driver {
  display: inline-block; background: #F78222; color: #fff;
  font-weight: 600; padding: .5rem 1rem; border-radius: .75rem;
  border: none; cursor: pointer; font-family: inherit; font-size: .875rem;
  transition: background .2s; text-decoration: none; text-align: center;
}
.btn-driver:hover { background: #d96d16; }

.btn-outline {
  display: inline-block; background: transparent; color: #00B195;
  font-weight: 600; padding: .5rem 1rem; border-radius: .75rem;
  border: 2px solid #00B195; cursor: pointer; font-family: inherit;
  font-size: .875rem; transition: all .2s; text-decoration: none; text-align: center;
}
.btn-outline:hover { background: #00B195; color: #fff; }

/* بج‌ها */
.badge-cargo { background: #e6faf7; color: #009c82; font-size: .75rem; font-weight: 500; padding: .2rem .6rem; border-radius: 999px; }
.badge-driver { background: #fff4e8; color: #d96d16; font-size: .75rem; font-weight: 500; padding: .2rem .6rem; border-radius: 999px; }
.badge-pending { background: #fef9c3; color: #a16207; font-size: .75rem; font-weight: 500; padding: .2rem .6rem; border-radius: 999px; }
.badge-approved { background: #dcfce7; color: #15803d; font-size: .75rem; font-weight: 500; padding: .2rem .6rem; border-radius: 999px; }
.badge-rejected { background: #fee2e2; color: #b91c1c; font-size: .75rem; font-weight: 500; padding: .2rem .6rem; border-radius: 999px; }

/* کارت اعلان */
.announcement-card { transition: box-shadow .2s; }
.announcement-card:hover { box-shadow: 0 4px 16px rgba(0,177,149,.12); }

/* پرینت */
@media print {
  header, footer, nav, .no-print { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border: 1px solid #ddd; }
}

/* select فارسی */
select { direction: rtl; }

/* انیمیشن loading */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { width: 1.5rem; height: 1.5rem; border: 3px solid #e2e8f0; border-top-color: #00B195; border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
