:root {
  --surface-brand: #75AAEB;
  --surface-background: #1B2028;
  --surface-primary: #1B2028;
  --surface-secondary: #2B3340;
  --surface-disable: #5C6D88;
  --surface-positive: #00BD92;
  --surface-positive-light: #2B403B;
  --content-high-emphasis: #E7EAEF;
  --content-primary: #E7EAEF;
  --content-secondary: #9FABBE;
  --content-tertiary: #838FA3;
  --content-constant-same: #1B2028;
  --border-primary: #5c6d88;
  --border-secondary: #2b3340;
  --border-brand: #75aaeb;
}
@font-face {
  font-family: "iranyekanbold";
  src: url("../fonts/fa/IRANYekanMobileBold.woff") format("truetype");
  font-weight: bolder;
  font-style: normal;
}
@font-face {
  font-family: "iranyekan";
  src: url("../fonts/fa/IRANYekanMobileRegular.woff") format("truetype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "iranyekanlight";
  src: url("../fonts/fa/IRANYekanMobileLight.woff") format("truetype");
  font-weight: light;
  font-style: normal;
}
@font-face {
  font-family: "iranyekanmedium";
  src: url("../fonts/fa/IRANYekanMobileMedium.woff") format("truetype");
  font-weight: medium;
  font-style: normal;
}
*
{font-family: "iranyekanbold";}
body {
  font-family: "iranyekanbold";
  font-weight: bolder;
  background-color: var(--surface-background);
  color: var(--content-high-emphasis);
  direction: rtl;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header-custom {
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-icon {
  color: var(--content-primary);
  font-size: 24px;
  cursor: pointer;
}

.login-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: left;
  padding: 20px;
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  margin-top: 20px;
}

.logo-img {
  width: 240px;
  height: 128px;
  object-fit: contain;
}

.form-container {
  width: 100%;
}

.form-group-custom {
  margin-bottom: 8px;
}

.form-input-custom {
  background-color: var(--surface-secondary);
  border: 2px solid var(--border-secondary);
  border-radius: 10px;
  padding: 12px 16px;
  width: 100%;
  height: 48px;
  color: var(--content-primary);
  font-size: 16px;
  direction: ltr;
  text-align: right;
  transition: border-color 0.2s;
}

.form-input-custom:focus {
  outline: none;
  border-color: var(--border-brand);
  background-color: var(--surface-secondary);
  color: var(--content-primary);
}

.form-input-custom::placeholder {
  color: var(--content-secondary);
  font-size: 16px;
}

.form-input-custom[type="password"] {
  font-size: 20px;
  letter-spacing: 2px;
}

.btn-login {
  background-color: var(--surface-disable);
  color: var(--content-constant-same);
  border: none;
  border-radius: 10px;
  padding: 12px;
  width: 100%;
  height: 48px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-login:active {
  transform: scale(0.98);
  opacity: 0.8;
}

.btn-login:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-forgot {
  background: none;
  border: none;
  color: var(--surface-brand);
  padding: 12px;
  width: 100%;
  height: 48px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-forgot:active {
  transform: scale(0.98);
  opacity: 0.5;
}

.version-text {
  position: relative;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--content-secondary);
  font-size: 14px;
}

.input-wrapper {
  position: relative;
}

.input-group-custom {
  border: 2px solid var(--border-secondary);
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--surface-secondary);
}

.input-group-custom:focus-within {
  border-color: var(--border-brand);
}

.input-group-custom .form-input-custom {
  border: none;
  border-radius: 0;
  margin: 0;
}

.input-group-custom .form-input-custom:first-child {
  border-bottom: 1px solid var(--border-primary);
}

.input-group-custom .form-input-custom:not(:first-child) {
  border-top: none;
}

@media (max-width: 480px) {
  .login-container {
    padding: 16px;
  }

  .logo-img {
    width: 200px;
    height: 106px;
  }
}

.pwa-install-prompt {
  display: none !important;
}

