.primary-color {
  color: #014DA9;  
}

.secondary-color {
  color: #2AAA3E
}

@font-face {
  font-family: 'Poppins';
  src: url('../website_assets/fonts/poppins/poppins-v5-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Shabnam";
  src: url("../website_assets/fonts/shabnam/Shabnam-Medium.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
  font-display: fallback;
}

:lang(fa) * {
  font-family: Shabnam, Poppins !important;
}

:lang(en) * {
  font-family: Poppins, Shabnam !important;
}

/* *:not(i){
  font-family: "Poppins", "Shabnam";
  font-weight: 500;
  font-style: normal;
} */

body {
  padding: 0 !important;
  margin: 0;
  box-sizing: border-box;
  position: relative;
}


p {
  font-size: 14px;
  color: #697586;
}

.custom-link {
  color: #014DA9;
  text-decoration: none;
}

.custom-textfield {
  width: 100%;
  font-family: sans-serif;
  margin-bottom: 24px;
}

.custom-textfield .textfield-label {
  color: #000000;
  font-size: 14px;
}


.custom-textfield .textfield-wrapper {
  position: relative;
  border: 1px solid #E5E7EB;
  border-radius: 24px;
  box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.custom-textfield input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 12px;
  padding: 12px 16px;
  border-radius: 24px;
  color: #000;
}

.custom-textfield input::placeholder {
  color: #999;
  font-size: 14px;
  font-weight: 300;
  opacity: 1;
  text-align: left;
}


.custom-textfield .textfield-wrapper:hover {
  border-color: rgba(25, 118, 210, 0.8); /* lighter primary */
}


.custom-textfield .textfield-helper {
  font-size: 14px;
  margin: 8px 0;
  color: #999;
}

/* RTL support */
[dir="rtl"] .custom-textfield input::placeholder {
  text-align: right;
}

[dir="rtl"] .custom-textfield .textfield-label {
  right: 0;
  left: auto;
  transform-origin: right top;
}




/* Base button */
.custom-btn {
  border: none;
  border-radius: 24px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  color: #fff;
  background: #014DA9;
  transition: 0.2s ease;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Sizes */
.custom-btn.btn-small {
  min-height: 30px;
  font-size: 12px;
  padding: 0 12px;
}

.custom-btn.btn-medium {
  min-height: 46px;
  min-width: 120px;
  font-size: 14px;
  padding: 0 16px;
}

.custom-btn.btn-large {
  min-height: 50px;
  min-width: 120px;
  font-size: 20px;
  padding: 0 20px;
}

/* Disabled */
.custom-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background: #014DA9;
  color: #fff;
}

/* Outlined disabled */
.custom-btn.outlined:disabled {
  background: transparent;
  opacity: 0.5;
  color: #014DA9;
  border: 1px solid #014DA9;
}

/* Icons */
.custom-btn .btn-icon {
  display: inline-flex;
  align-items: center;
}

/* Start icon (LTR default) */
.custom-btn .btn-icon.start {
  margin-right: 4px;
}

/* End icon */
.custom-btn .btn-icon.end {
  margin-left: 4px;
}

/* RTL support */
[dir="rtl"] .custom-btn .btn-icon.start {
  margin-right: 0;
  margin-left: 4px;
}

[dir="rtl"] .custom-btn .btn-icon.end {
  margin-left: 0;
  margin-right: 4px;
}



.loading-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top: 2px solid #999999;
    animation: spin 1s linear infinite;
    display: inline-block;
    }  
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

.input-error {
  border: 1px solid red !important;
}

.error-message {
  color: red;
  font-size: 12px;
  margin-top: 4px;
}


.toggle-password {
    width: 24px;
    height: 22px;
    padding: 8px;
    fill: #999;
}

.custom-checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}


/* .custom-checkbox input[type="checkbox"] {
  position: relative;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  background-color: transparent;
  cursor: pointer;
  margin: 0;
  -webkit-appearance: none;
  isolation: isolate;
  width: 32px;
  height: auto;
  aspect-ratio: 1;
}

.custom-checkbox input[type="checkbox"]:checked {
  background-color: #014DA9;
  border-color: #014DA9;
}

.custom-checkbox input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 3px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
} */