@import "./variables.css";
@import "./typography.css";
@import "./responsive.css";

body {
  font-family: "iranYekan-medium";
  height: 100%;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

[type="number"] {
  appearance: textfield;
}

.badge {
  padding: 3px 6px 5px;
  border-radius: 15px;
  font-size: 8px;
}

label span
{
    color:#FF0E00;
}

input.form-control,
.form-select {
  padding: 10px;
  font-size: 14px;
  height: 45px;
}

.form-control::placeholder {
  font-size: 14px;
}

.menu .logo {
  width: 100px !important;
  height: auto !important;
}
.border-menu
{
    border-bottom:1px solid #D3D3D3;
}
h2 {
  font-family: "iranYekan-exbold" !important;
}

.h1,
h1 {
  font-size: var(--h1);
  font-weight: bold;
}

.h2,
h2 {
  font-size: var(--h2);
}

.h3,
h3 {
  font-size: var(--h3);
}

.h4,
h4 {
  font-size: var(--h4);
}

.h5,
h5 {
  font-size: var(--h5);
}

.h6,
h6 {
  font-size: var(--h6);
}

.fs-label {
  font-size: var(--label);
}

.btn-copy {
  background: #eee;
  border-radius: 50px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-copy:hover {
  background: #ddd;
}

.rounded-custom {
  border-radius: 8px;
}
.container-custom-padding
{
    padding-left: 18px;
    padding-right: 18px;
}
.card {
  border: 0.5px solid rgba(0, 0, 0, 0.2);
}

.shadow-custom {
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 20%);
}

.description {
  font-size: var(--description);
}

.description-small {
  font-size: var(--description-small);
  font-weight: 100;
  font-family: "iranYekan-light" !important;
}

.color-first {
  color: var(--color-primary-first);
}

.color-second {
  color: var(--color-primary-second);
}

.color-third {
  color: var(--color-primary-third);
}

.color-label {
  color: var(--color-label);
}

.bg-first {
  background-color: var(--color-primary-first);
}

.bg-second {
  background-color: var(--color-primary-second);
}

.bg-third {
  background-color: var(--color-primary-third);
}

.form-control:focus {
  border-color: rgba(var(--color-primary-first-rgb), 0.5);
  box-shadow: 0 0 5px 0 rgba(var(--color-primary-first-rgb), 0.1);
}

.form-control::placeholder {
  color: #747474;
  font-weight: 900;
  letter-spacing:10px;
  font-family: "iranYekan-medium" !important;
}

.appearance-textfield {
  appearance: textfield;
}

.form-check .form-check-input {
  width: 24px;
  height: 24px;
  margin-right: -30px !important;
  margin-top: 0px !important;
  transition: 0.3s ease-in-out;
  border: 1.5px solid #21409A;
}
.color-black
{
    color:#151515;
}

.form-check .form-check-input:checked {
  background-color: var(--color-primary-first);
  border-color: var(--color-primary-first);
}

.form-check-input:focus {
  border-color: #ddd;
  box-shadow: none;
}

.form-check .form-check-label {
  font-size: 14px;
  /* color: rgba(var(--color-primary-third-rgb), 0.75); */
  color:#151515;
}

.form-check {
  padding-right: 30px !important;
}

/* .form-check-input[type="checkbox"] {
  border-radius: 7.5px;
} */

.form-control-pass {
  letter-spacing: 15px;
  text-align: center;
}

.w-content {
  width: max-content;
}

.h-content {
  height: max-content;
}

button,
a,
.btn {
  transition: 0.3s ease-in-out;
}

.btn-first,
.btn-second,
.btn-third {
  border-width: 1px;
  border-style: solid;
  padding: 10px 30px 12.5px;
  border-radius: 8px;
  font-size: 14px;
}

.btn-first {
  background-color: rgba(var(--color-primary-first-rgb), 1);
  border-color: rgba(var(--color-primary-first-rgb), 1);
  color: var(--white);
}

.btn-first:hover {
  background-color: #fff;
  border-color: rgba(var(--color-primary-first-rgb), 1);
  color: var(--dark);
}

.btn-second {
  background-color: rgba(var(--color-primary-second-rgb), 1);
  border-color: rgba(var(--color-primary-second-rgb), 1);
  color: var(--dark);
}

.btn-second:hover {
  background-color: rgba(var(--color-primary-first-rgb), 1);
  border-color: rgba(var(--color-primary-first-rgb), 1);
  color: var(--white);
}

.btn-third {
  background-color: rgba(var(--color-primary-third-rgb), 1);
  border-color: rgba(var(--color-primary-third-rgb), 1);
  color: var(--white);
}

.btn-third:hover {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--dark);
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #21409a;
  --bs-btn-border-color: #21409a;
  --bs-btn-hover-color: #21409a;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #21409a;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #21409a;
  --bs-btn-active-border-color: #0a53be;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #21409a;
  --bs-btn-disabled-border-color: #21409a;
}

.btn-outline-primary {
  --bs-btn-color: #21409a;
  --bs-btn-border-color: #21409a;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #21409a;
  --bs-btn-hover-border-color: #21409a;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #21409a;
  --bs-btn-active-border-color: #21409a;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #21409a;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #21409a;
  --bs-gradient: none;
}

.btn-secondary {
  --bs-btn-color: #21409a;
  --bs-btn-bg: #ffcb05;
  --bs-btn-border-color: #ffcb05;
  --bs-btn-hover-color: #21409a;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #ffcb05;
  --bs-btn-focus-shadow-rgb: 130, 138, 145;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #21409a;
  --bs-btn-active-border-color: #ffcb05;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #ffcb05;
  --bs-btn-disabled-border-color: #ffcb05;
}

.fixednav {
  padding: 15px;
  background: rgb(255, 255, 255);
  background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.fixednav .bgnav {
  background-color: var(--white);
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.10);
  border-radius: 20px;
}

.fixednav .bgnav a {
  color: var(--color-primary-third);
  font-size: var(--description-small);
}

.hr-modal {
  width: 40px;
  opacity: 0.25;
  border-top: 3px solid #000;
  border-radius: 15px;
  margin: auto !important;
}

.fixednav {
  z-index: 500;
}

.leaflet-container div:last-child {
  bottom: 5.5rem !important;
}

.cartpay {
  border-radius: 15px;
  background: linear-gradient(262deg, #FFAE00 0%, #FFD556 100%);
  /* height: 140px; */
}

.term-requests .card {
  padding: 7.5px;
  border-radius: 15px;
}

.term-requests .card .card-header {
  background-color: var(--color-primary-second);
  border-radius: 7.5px;
  padding: 5px;
  border: none;
}

.term-requests .card-header span {
  width: 31px;
  height: 31px;
  color: #fff;
  display: flex;
  border-radius: 2.5px;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-first);
}

.support th,
.support td {
  vertical-align: middle;
  font-size: 12px;
}

thead td,
thead th {
  color: var(--color-primary-first) !important;
}

tbody th {
  color: var(--color-primary-first) !important;
}

tbody td {
  color: var(--color-primary-third) !important;
}

.btn-link {
  text-decoration: none;
}

.fixednav-chat-room button {
  transform: rotateY(180deg);
}

.chat-room .chat-room-message .me-message .text-box,
.chat-room .chat-room-message .you-message .text-box {
  padding: 10px;
  width: max-content;
  max-width: 100%;
}

.chat-room .chat-room-message .me-message .text-box {
  background-color: var(--color-primary-first);
  margin-left: auto;
  border-radius: 15px 0 15px 15px;
}

.chat-room .chat-room-message .you-message .text-box {
  background-color: #eee;
  margin-right: auto;
  border-radius: 0 15px 15px 15px;
}

.chat-room .chat-room-message .me-message {
  text-align: right;
}

.chat-room .chat-room-message .you-message {
  text-align: left;
}

.chat-room {
  transform: rotateX(180deg);
  padding-bottom: 5rem !important;
}

.chat-room .chat-room-message {
  padding-top: 5rem !important;
}

.chat-room .chat-room-message .you-message,
.chat-room .chat-room-message .me-message {
  transform: rotateX(180deg);
}

.chat-room .file-chatroom {
  background-color: var(--color-primary-second);
  color: var(--color-primary-first);
  padding: 3px 10px 5px;
  font-size: 10px;
  display: flex;
  width: max-content;
  margin-top: 5px;
  align-items: center;
  gap: 4px;
}

.chat-room .file-chatroom i {
  display: flex;
  align-items: center;
  font-size: 15px;
  margin-top: 2.5px;
}

.fixednav-chat-room textarea {
  padding: 15px 50px;
}

.fixednav-chat-room textarea::placeholder {
  color: #999;
  opacity: 1;
}
.menu
{
    /* position: relative;
    top: 0;
    width: 100%; */
}
.content-map .container {
  /* display: flex;
  justify-content: center; */
  margin: 0 !important;
  padding: 0 !important;
}

.content-map form {
  width: 100%;
  max-width: 420px;
}
.locker-title
{
    color:#7E8299;
    font-size:12px
}
.locker-desc-res
{
    color:var(--color-primary-first);
    font-size:14px
}
.divider
{
    border: 1px solid;
    width: 100%;
}
.box-reserve-title
{
    font-size:1rem;
    color:var(--color-primary-first);
}
.pay-success
{
    font-size:1rem;
    color:var(--color-primary-first);
    font-family: "iranYekan-exblack" !important;
    font-weight: 900;
}
.item-box-res
{
    padding:1.5rem;
    border:1px solid var(--color-primary-first);
    border-radius: 8px;
}

.item-box-res-bg
{
    padding:1rem;
    border:1px solid var(--color-primary-first);
    border-radius: 8px;
    background: #21409A;
}

.item-box-desc1
{
    font-size:1.2rem;
    font-weight: 900;
    color:var(--color-primary-first);
}

.item-box-desc2
{
    font-size:.8rem;
    font-weight: 900;
    color:var(--color-primary-first);
}

.item-box-desc3
{
    font-size:.7rem;
    font-weight: 900;
    color:var(--color-primary-first);
    font-family: "iranYekan-thin" !important;
}
.border-bottom-fixed
{
    border-top: 1px solid #D3D3D3;
}

/* ────────────────────────────────────────────── */
/*               Bottom Sheet                     */
/* ────────────────────────────────────────────── */

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    pointer-events: none; /* اجازه می‌ده کلیک از پشت رد بشه */
}

.bottom-sheet-container {
    pointer-events: auto;
    background: white;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.sheet-handle {
    width: 42px;
    height: 5px;
    background: #ddd;
    border-radius: 999px;
    margin: 12px auto 8px;
}

.sheet-header {
    padding: 0 20px 12px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.sheet-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #151515;
}

.sheet-content {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.5;
}

.sheet-footer {
    padding: 16px 20px;
    border-top: 1px solid #eee;
    background: white;
}

/* وقتی محتوا زیاد شد اسکرول ظاهر بشه */
.sheet-content.has-scroll {
    border-bottom: 1px solid #eee;
}

/* برای فرم */
form {
    position: relative;
    z-index: 1;
}
.code-locker
{
    font-size:36px;
    direction: ltr;
}
.copy-text
{
    font-size:16px;
}
/* ────────────────────────────────────────────── */
/*               انتخاب سایز باکس                 */
/* ────────────────────────────────────────────── */

.selectable-box {
    padding: 0;
    border: 2px solid #BCBCBC;
    border-radius: 12px;
    background: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.selectable-box:hover {
    border-color: var(--color-primary-first);
    box-shadow: 0 2px 8px rgba(33, 64, 154, 0.1);
}

.selectable-box.selected {
    border: 2px solid var(--color-primary-first);
    background: rgba(var(--color-primary-first-rgb), 0.08);
    box-shadow: 0 4px 12px rgba(33, 64, 154, 0.15);
}

.selectable-box.selected .item-box-desc1,
.selectable-box.selected .item-box-desc2,
.selectable-box.selected .item-box-desc3 {
    color: var(--color-primary-first);
}

/* اگر تعداد صفر باشد، کمی کم‌رنگ‌تر نشان بده */
.selectable-box[data-available="0"] {
    opacity: 0.6;
    pointer-events: none; /* یا فقط hover را غیرفعال کنید */
}

.selectable-box[data-available="0"] .item-box-desc2 span {
    color: #999;
}
.profile-fullname
{
    font-size:16px;
    font-weight: 900;
    color:#21409A;
}
.profile-welcome
{
    font-size:14px;
    font-weight: 100;
    color:#21409A;
}
.wallet-number
{font-size: 36px;}
.menu-title-profile
{
   font-size:16px;
   color: #21409A;
}
.menu-logout-profile
{
   font-size:16px;
   color: #FF0E00;
}
/* مطمئن شو که محتوا زیر دکمه له نشه */
.container.pb-safe {
    padding-bottom: 80px !important;   /* یا 90px – بسته به ارتفاع دکمه + padding */
}

/* اگر می‌خوای خیلی تمیز باشه → از env() استفاده کن (بهتر پشتیبانی می‌شه) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .container.pb-safe {
        padding-bottom: calc(80px + env(safe-area-inset-bottom)) !important;
    }
}
.f-16
{
    font-size:16px;
}
.register-link
{
    color:#2162EF;
    border-bottom: 1px solid;
}
/* ===== Custom Minimal Toast – کاملاً هماهنگ با تم دارک ===== */
.custom-toast {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 300px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    text-align: right;
}
.custom-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.custom-toast-success {
    background-color: rgba(70, 137, 102, 0.1);
    color: #468966;
}

.custom-toast-error {
    background-color: rgba(255, 14, 0, 0.1);
    color: #FF0E00;
}

.custom-toast-info {
    background-color: rgba(0, 149, 255, 0.1);
    color: #0095FF;
}

/* موبایل */
@media (max-width: 576px) {
    .custom-toast {
        left: 20px;
        right: 20px;
        min-width: auto;
    }
}
.input-wrapper {
  position: relative;
}

.input-wrapper .icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.badge-success
{
    color: white;
    background-color: #43B75D;
    border-radius: 8px;
    font-size: 10px;
    font-family: "iranyekan-thin";
    padding:6px 8px;
}
.item-name-profile
{
    color:#747474;
    font-family: "iranyekan-thin";
    font-size:14px;
}
.item-desc-profile
{
    color:#000000;
    font-family: "iranyekan-medium";
    font-size:16px;
    text-align: right;
    width: 100%;
}
