/* custom font */
@font-face {
  font-family: "yekan";
  font-weight: 300;
  font-style: normal;
  src: url("/themes/iritco/fonts/YekanBakh-Regular-42d0316504a530bc06ae263d5be7e418.woff");
}

@font-face {
  font-family: "yekan";
  font-weight: 500;
  font-style: normal;
  src: url("/themes/iritco/fonts/YekanBakh-Medium-ccd0dc1b9b3f12ef6f2f9ff50031ea46.woff");
}

@font-face {
  font-family: "yekan";
  font-weight: 700;
  font-style: normal;
  src: url("/themes/iritco/fonts/YekanBakh-Bold-94dc9290c073e4f1fcc3e249c8932885.woff");
}

/* end custom font */

/* Root / Reset */

:root {
  --cas-theme-primary: #ce0b6d;
  --cas-theme-secondary: #5e4b3c;
  --cas-theme-neutral: #e0e0e0;
  --cas-theme-light-alert: #ebeeff;
  --mdc-text-button-label-text-color: #f7f7f7;
  --mdc-theme-error: #d9534f;
  --cas-theme-primary-bg: rgba(21, 62, 80, 0.2);
  --cas-theme-button-bg: #26418f;
  --cas-theme-primary-light: #006d85;
  --cas-theme-success: var(--cas-theme-secondary);
  --cas-theme-danger: var(--mdc-theme-error);
  --cas-theme-warning: #e6a210;
  --cas-theme-border-light: 1px solid rgba(0, 0, 0, 0.2);
  --mdc-theme-primary: var(--cas-theme-primary, #153e50);
}

body {
  display: flex;
  height: 100vh;
  margin: 0;
  padding: 0;
  flex-direction: column;
  justify-content: space-between;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  background: #efefef;
}

a {
  color: #153e50;
  color: var(--cas-theme-primary, #153e50);
}

a:hover,
a:visited,
a:active {
  color: #006d85;
  color: var(--cas-theme-primary-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

aside,
section,
main {
  display: block;
}

/* Material */

.mdc-drawer {
  top: 56px;
}

.mdc-drawer-app-content {
  flex: auto;
  overflow: auto;
  position: relative;
}

.main-content {
  display: flex;
}

.mdc-top-app-bar {
  z-index: 7;
}

div#content {
  box-shadow: 1px 1px 3px #888;
}

/* widgets */

.notifications-count {
  position: absolute;
  top: 10px;
  right: 12px;
  background-color: #b00020;
  background-color: var(--cas-theme-danger);
  color: #fff;
  border-radius: 50%;
  padding: 1px 3px;
  font: 8px Verdana;
}

.cas-brand {
  height: 48px;
  width: auto;
}

header>nav .cas-brand path.cls-1 {
  fill: white;
}

header>nav .cas-brand .cas-logo {
  height: 100%;
}

.caps-warn {
  display: none;
}

.caps-on {
  display: block;
}

.login-section {
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  border-right: var(--cas-theme-border-light, 1px solid rgba(0, 0, 0, 0.2));
  padding: 2rem 2.5rem;
  flex: 1 1 auto;
  /* IE flex fix */
}

.login-section:last-child {
  border: none;
}

@media screen and (max-width: 767.99px) {
  .login-section {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: var(--cas-theme-border-light, 1px solid rgba(0, 0, 0, 0.2));
    max-width: none;
    padding: 0 1.5rem;
  }
}

.noborder {
  border: 0 none;
}

.close {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  text-transform: none;
  text-decoration: none;
}

button.close {
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
}

.banner {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border: var(--cas-theme-border-light, 1px solid rgba(0, 0, 0, 0.2));
  position: relative;
  padding-left: 10px;
  box-shadow: 1px 1px 3px #888;
  border-radius: 0.5em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.banner>span {
  vertical-align: top;
}

.banner .banner-message {
  margin: 0.375rem 0;
}

.banner .banner-heading:first-child {
  margin-top: 0;
}

.banner .banner-message:first-child {
  margin-top: 0;
}

.banner .banner-message:last-child {
  margin-bottom: 0;
}

.banner-primary {
  border-color: #153e50;
  border-color: var(--cas-theme-primary, #153e50);
}

.banner-primary .mdi {
  color: #153e50;
  color: var(--cas-theme-primary, #153e50);
}

.banner-danger h1:before,
.banner-danger h2:before,
.banner-danger h3:before,
.banner-danger h4:before,
.banner-danger h5:before {
  content: "\F0027";
  font-size: 24px;
  font: normal normal normal 24px/1 "Material Design Icons";
}

.banner-danger {
  border-color: #b00020;
  border-color: var(--cas-theme-danger, #b00020);
  color: #d8000c;
  background-color: #ffd2d2;
}

.banner-danger .mdi {
  color: #b00020;
  color: var(--cas-theme-danger, #b00020);
}

.banner-warning {
  border-color: #e6a210;
  border-color: var(--cas-theme-warning, #e6a210);
  color: #e6a210;
  color: var(--cas-theme-warning, #e6a210);
}

.banner-warning .mdi {
  color: #e6a210;
  color: var(--cas-theme-warning, #e6a210);
}

.banner-success h1:before,
.banner-success h2:before,
.banner-success h3:before,
.banner-success h4:before,
.banner-success h5:before {
  content: "\F012D";
  font-size: 24px;
  font: normal normal normal 24px/1 "Material Design Icons";
}

.banner-success {
  border-color: var(--cas-theme-success);
  color: var(--cas-theme-primary, #153e50);
  background-color: #b3e7f8;
}

.banner-dismissible {
  padding-right: 4rem;
}

.banner-dismissible .close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.75rem 1.25rem;
  color: inherit;
}

.login-provider-item {
  list-style: none;
}

.login-provider-item .mdc-button .mdi {
  margin-right: 0.375rem;
}

@media screen and (max-width: 767.99px) {
  .logout-banner {
    width: 100%;
  }
}

.cas-footer {
  background-color: var(--mdc-theme-primary, #6200ee);
  color: whitesmoke;
}

.cas-footer a {
  color: deepskyblue;
}

.cas-footer>* {
  margin-right: 0.25rem;
  display: inline-block;
}

.cas-footer>*:last-child {
  margin: 0;
}

.cas-notification-dialog .mdc-dialog__content>.cas-notification-message:not(:last-child) {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: var(--cas-theme-border-light, 1px solid rgba(0, 0, 0, 0.2));
}

.mdc-dialog__title::before {
  display: none;
}

.mdi {
  content: "";
}

.mdi:before {
  font-size: 24px;
}

/* custom components */

.custom-select {
  display: inline-block;
  min-width: 80%;
  height: 56px;
  padding: 0.375rem 1.75rem 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.87);
  vertical-align: middle;
  background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  -webkit-appearance: none;
}

/* utilities */

.bg-primary {
  background-color: rgba(21, 62, 80, 0.2);
  background-color: var(--cas-theme-primary-bg, rgba(21, 62, 80, 0.2));
}

.border-bottom {
  border-color: #153e50;
  border-bottom: 1px solid var(--cas-theme-primary, #153e50);
}

.strong {
  font-weight: bold;
}

.text-warning {
  color: #e6a210;
  color: var(--cas-theme-warning, #e6a210);
}

.text-danger {
  color: #b00020;
  color: var(--cas-theme-danger, #b00020);
}

.text-secondary,
.text-success {
  color: var(--cas-theme-secondary);
}

.progress-bar-danger .mdc-linear-progress__bar-inner {
  border-color: #b00020;
  border-color: var(--cas-theme-danger, #b00020);
}

.progress-bar-warning .mdc-linear-progress__bar-inner {
  border-color: #e6a210;
  border-color: var(--cas-theme-warning, #e6a210);
}

.progress-bar-success .mdc-linear-progress__bar-inner {
  border-color: var(--cas-theme-success);
}

.word-break-all {
  word-break: break-all;
}

.mdc-text-field {
  width: 100%;
}

.mdc-text-field>.mdc-text-field__input,
.mdc-text-field:not(.mdc-text-field--disabled):not(.mdc-text-field--outlined):not(.mdc-text-field--textarea)>.mdc-text-field__input {
  border-color: #153e50;
  border: 1px solid var(--cas-theme-primary, #153e50);
  border-radius: 4px;
}

.mdc-input-group .mdc-input-group-field .mdc-text-field {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.mdc-input-group .mdc-input-group-append {
  order: 2;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.mdc-input-group .mdc-input-group-prepend,
.mdc-input-group .mdc-input-group-append {
  height: 56px;
}

.mdc-input-group .mdc-input-group-prepend {
  order: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.mdc-input-group .mdc-input-group-field.mdc-input-group-field-prepend .mdc-text-field>.mdc-text-field__input {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.mdc-input-group .mdc-input-group-field.mdc-input-group-field-append .mdc-text-field>.mdc-text-field__input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.text-danger,
.mdc-text-field:not(.mdc-text-field--disabled) .mdc-text-field__icon.text-danger,
.mdc-text-field:not(.mdc-text-field--disabled)+.mdc-text-field-helper-line .mdc-text-field-helper-text.text-danger {
  color: #b00020;
  color: var(--cas-theme-danger);
}

.mdc-text-field--focused:not(.mdc-text-field--disabled) .mdc-floating-label {
  color: #153e50;
  color: var(--cas-theme-primary, #153e50);
}

.mdc-button--outline:not(:disabled) {
  background-color: var(--cas-theme-secondary);
  border-radius: 5px;
  margin: 0 8px;
}

.mdc-button--raised:not(:disabled) {
  border-radius: 5px;
  background-color: var(--cas-theme-primary, #153e50);
}

.list-unstyled {
  padding: 0 !important;
  list-style: none;
}

.text-center {
  text-align: center;
}

.pad-0 {
  padding-right: 0;
  padding-left: 0;
}

.w-66 {
  width: 66%;
}

.w-33 {
  width: 33%;
}

.w-25 {
  width: 25%;
}

.w-50 {
  width: 50%;
}

.w-75 {
  width: 75%;
}

.w-100 {
  width: 100%;
}

.w-auto {
  width: auto;
}

.h-25 {
  height: 25%;
}

.h-50 {
  height: 50%;
}

.h-75 {
  height: 75%;
}

.h-100 {
  height: 100%;
}

.h-auto {
  height: auto;
}

.mw-100 {
  max-width: 100% !important;
}

.mh-100 {
  max-height: 100%;
}

.min-vw-100 {
  min-width: 100vw;
}

.min-vh-100 {
  min-height: 100vh;
}

.vw-100 {
  width: 100vw;
}

.vh-100 {
  height: 100vh;
}

.mw-50 {
  max-width: 50%;
}

.border-rounded {
  border-color: #153e50;
  border: 1px solid var(--cas-theme-primary, #153e50);
  border-radius: 4px;
}

.border-bottom {
  border-color: #153e50;
  border-bottom: 1px solid var(--cas-theme-primary, #153e50);
}

@media all and (min-width: 768px) {
  .w-md-50 {
    width: 50%;
  }

  .w-md-66 {
    width: 66%;
  }
}

@media all and (min-width: 992px) {
  .w-lg-50 {
    width: 50%;
  }

  .w-lg-66 {
    width: 66%;
  }
}

@media all and (max-width: 767.99px) {
  .w-md-50 {
    width: 100%;
  }

  .w-md-66 {
    width: 100%;
  }
}

@media all and (max-width: 991.99px) {
  .w-lg-50 {
    width: 100%;
  }

  .w-lg-66 {
    width: 100%;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

*,
::after,
::before {
  box-sizing: border-box;
}

.text-justify {
  text-align: justify;
}

#duo_iframe {
  width: 100%;
  min-width: 304px;
  height: 330px;
  border: none;
  padding: 0;
  margin: 0;
}

.dataTables_wrapper {
  margin-left: 5px;
  margin-top: 5px;
  margin-right: 5px;
}

#serviceui {
  background-color: #17a3b844;
  border-radius: 4px;
}

#heroimg {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* IE flex fix */

#main-content {
  margin-right: 10px;
  margin-left: 10px;
}

/* oddly, the auto right and left margins caused the login form to not be centered in IE */

@media all and (min-width: 768px) {
  .login-section {
    flex: 1 1 500px;
    /* according to flexbugs, flex-basis should be explicitly set for IE */
    /* https://github.com/philipwalton/flexbugs#flexbug-4 */
  }
}

/* flex-basis: auto works in IE with the column view,
       but a specific value needs to be set for row view
     */

/* fix for not showing password reveal icon on MSEdge and MSIE */
.pwd::-ms-reveal,
.pwd::-ms-clear {
  display: none;
}

@media (min-width: 1400px) {
  .container-xxl {
    max-width: 90%;
  }
}

/* custom styles goes here */
/* start block */
html {
  direction: rtl;
}

body,
span,
h1,
h2,
h3,
h4,
h5,
p {
  font-family: "yekan", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol" !important;
}

body {
  background-image: url("/themes/iritco/images/bg-7834979d331d45ced3f42824bd6c2185.jpg");
  background-repeat: repeat;
  background-size: cover;
}

.hidden {
  display: none;
}

div#sidebar {
  padding: 10px 20px;
  background: #ffffff00;
  border-radius: 10px;
  margin: 0 40px;
}

.banner-danger {
  border: none;
  color: var(--cas-theme-danger, #b00020);
  background-color: #fff3f3;
  box-shadow: none;
}

.mdc-chip {
  background-color: var(--cas-theme-neutral);
}

button.mdc-button {
  box-shadow: none;
}

.mdc-notched-outline__leading,
.mdc-notched-outline__notch,
.mdc-notched-outline__trailing {
  border: none !important;
}

.al-slogan {
  display: flex;
  justify-content: center;
  color: #777777;
  margin-top: 20px;
  font-size: 1.3rem;
}

.al-login-logo {
  margin: 20px auto;
  padding-top: 40px;
  max-width: 150px;
}

#main-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex;
  background: none !important;
  justify-content: center;
  align-items: center;
}

.al-login-side {
  border-radius: 0.75rem;
  background-color: var(--cas-theme-primary);
  flex: 1 1 0%;
  max-width: 460px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.al-login-side .title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
}

.al-login-side .buttons {
  display: flex;
  margin-top: 12px;
}

.al-login-side .title h3 {
  font-size: 1.75rem;
  font-weight: 500;
  color: white;
  margin: 0px !important;
}

.al-catchy-hr {
  width: 100%;
  border: 0px;
  height: 1px;
  background-image: linear-gradient(to right,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0.75),
      rgba(0, 0, 0, 0));
}

.al-login-side .linked-button {
  margin: 0 8px;
}

.al-login-side .linked-button button {
  padding: 12px 20px;
  font-size: 0.8rem;
  font-weight: 400;
  border: none;
  color: #131113;
  cursor: pointer;
  width: 100px;
  border-radius: 3px;
}

.al-login-side .forgot-password {
  margin: 20px;
  color: white;
}

.al-login-container {
  display: flex;
  max-width: 83.33%;
}

.al-login-inputs-container {
  flex: 1 1 0%;
  flex-direction: column;
  text-align: right;
  padding-bottom: 50px;
  width: 100%;
}

.al-bottom-menu {
  display: flex;
  justify-content: space-between;
  width: 100%;
  color: white;
}

#pmlinks {
  display: none;
}

.m-0 {
  margin: 0;
}

.al-bottom-menu-button {
  color: white !important;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
}

.row.al-bottom-menu {
  margin: 0;
}

#login-form-controls {
  padding: 40px;
  padding-bottom: 0;
  padding-top: 0;
}

#content {
  background-color: white;
  width: 100%;
  margin: auto;
  box-shadow: 0 1px 15px rgb(0 0 0 / 0%), 0 1px 6px rgb(0 0 0 / 0%) !important;
  margin: 0px auto !important;
  border-radius: 20px;
  padding-bottom: 0px !important;
}

button.reveal-password.align-self-end.mdc-button.mdc-button--unelevated.mdc-input-group-append.mdc-icon-button.btn.btn-primary {
  background: none;
  color: #aaaaaa;
  margin-left: -15px;
}

span.mdc-floating-label.mdc-floating-label--required {
  background: none;
}

span.mdc-notched-outline.mdc-notched-outline--upgraded {
  border: 1px solid #cccccc;
  border-radius: 7px;
}

.al-login-bottom {
  background: #82c341;
  margin: 0 -40px -40px;
  border-radius: 0px 0px 20px 20px;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
}

div.form-wrapper hr.my-4 {
  visibility: hidden;
}

.login-section {
  border: none !important;
}

.mdc-top-app-bar--fixed-adjust {
  padding-top: 0px !important;
}

.mdc-card {
  box-shadow: 0 1px 15px rgb(0 0 0 / 6%), 0 1px 6px rgb(0 0 0 / 6%);
  border-radius: 10px;
  padding: 20px;
}

.al-login-inputs-container .mdc-card {
  box-shadow: none;
}

#login-form-controls .mdc-button--raised {
  width: 100%;
  padding: 25px;
}

.al-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 1px;
  background-image: radial-gradient(#c7c7c7 10%, #ffffff 70%);
  margin-top: 30px;
  margin-bottom: 25px;
}

.al-divider-text {
  background-color: white;
}

.al-gap-2 {
  gap: 8px;
}

#usernameValidationMessage,
#passwordValidationMessage {
  position: absolute;
  top: 42px;
  left: 40px;
}

button#SaorgOAuthClient,
button#Google {
  padding: 25px;
  text-align: center;
  line-height: 0px;
  margin-bottom: 10px;
}

.cas-field {
  position: relative;
}

h3.text-center.other-login-methods-header {
  padding: 40px 0 25px 0;
  display: none;
}

@media screen and (max-width: 767.99px) {
  .login-section {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: var(--cas-theme-border-light, 1px solid rgba(0, 0, 0, 0.2));
    max-width: none;
    padding: 2rem 2.5rem;
  }

  .al-login-container {
    flex-direction: column;
  }

  .al-login-side {
    max-width: initial;
  }
}

/* remove default background of inputs in chrome */
/* input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
} */

/* end block */

#serviceui .d-flex.align-items-center.p-2 {
  justify-content: center;
}

#serviceui h3 {
  text-align: center;
  color: #444444;
}

#serviceui {
  background-color: #fcfcfd;
  border-radius: 10px;
  margin: 0px;
  padding-top: 8px;
}

span.mdc-floating-label.mdc-floating-label--required {
  transform: translateY(-34.75px) scale(0.75);
}

main#main-content {
  max-width: none !important;
  padding: 0;
  margin: 0;
}

button#CasOAuthClient {
  border-radius: 50px;
}

button.mdc-button.mdc-button--raised.btn.btn-primary.btn-primary {
  border-radius: 50px;
}

span.mdc-notched-outline.mdc-notched-outline--upgraded {
  border-radius: 50px;
}

section#loginForm {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column-reverse;
}

button.mdc-button.mdc-button--raised.btn.btn-primary.btn-primary {
  max-width: 400px;
  justify-content: center;
  display: flex;
  margin: auto !important;
}

button#CasOAuthClient {
  height: 50px;
}

.primary-background {
  background-color: var(--cas-theme-primary, #153e50);
}

span.mdc-floating-label.mdc-floating-label--required {
  right: 20px !important;
}

div#loginErrorsPanel {
  margin-bottom: 20px;
  border-radius: 50px;
  padding: 15px;
  display: flex;
  justify-content: center;
}

.al-forgot-password {
  display: flex;
  justify-content: end;
  margin-bottom: 50px;
  margin-top: -10px;
  padding-left: 20px;
}

.al-forgot-password a {
  text-decoration: none;
}

i.mdi.mdi-eye.reveal-password-icon.fas.fa-eye {
  margin-left: 10px;
  margin-bottom: 10px;
}

button#BehdashtOauthClient {
  width: 47%;
  float: right;
  border-radius: 10px;
  margin-top: -50px !important;
  background: none;
  border: 1px solid gray;
  color: gray;
  height: 50px;
}

div#content,
body {
  /* background: linear-gradient(180deg, #1a3d91 0%, #ce0b6d 100%); */
  /* background: #c1d1db; */
  background-image: url('/themes/iritco/images/login-bg-7834979d331d45ced3f42824bd6c2185.jpg');
  background-repeat: no-repeat;          /* prevents tiling */
  background-size: cover;                /* or contain, or specific size */
  background-position: center;           /* or top left, etc. */
  overflow-x: hidden;
}

#login-form-controls .mdc-button--raised {
  width: 100%;
  border-radius: 10px;
}

#main-content {
  display: block !important;
}

button#CasOAuthClient,
button#BehdashtOauthClient {
  width: 100%;
  border-radius: 10px;
  background: none;
  border: 1px solid gray;
  color: gray;
  background: #20449a;
  display: inline-block;
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

button#BehdashtOauthClient {
  margin-top: 20px !important;
}

button#CasOAuthClient:after,
button#BehdashtOauthClient:after {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  animation: ShineAnim 5s ease infinite;
  animation-delay: 1s;
}

@keyframes ShineAnim {
  0% {
    left: -100%;
  }

  10% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

button.mdc-button.mdc-button--raised.btn.btn-primary.btn-primary {
  max-width: none;
}

section#loginProviders {
  padding: 0;
}

#login-form-controls {
  padding: 0;
}

#sidebar {
  margin: -30px 0 0 10px !important;
  display: none;
}

.sidebar-content span {
  font-size: 13px;
}

.al-forgot-password {
  margin-bottom: 20px !important;
}

.mdc-button--raised:not(:disabled) {
  background: #20449a;
}

span.mdc-notched-outline.mdc-notched-outline--upgraded {
  border-radius: 10px !important;
}

span.mdc-floating-label.mdc-floating-label--required {
  background: none;
  padding: 0 5px;
}

/* shine anim */
.shine-hope-anim {
  background: #00365a;
  display: inline-block;
  width: 160px;
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.shine-hope-anim:after {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  animation: ShineAnim 5s ease infinite;
  animation-delay: 1s;
}

@keyframes ShineAnim {
  0% {
    left: -100%;
  }

  10% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

/* shine anim */

.bg-shape {
  position: absolute;
  left: -90px;
  top: -143px;
  height: 275px;
  width: 357px;
  border-radius: 20px;
  background: #20449a;
  transform: rotate(73deg);
}

@media only screen and (max-width: 768px) {
  button#CasOAuthClient {
    margin-top: -10px !important;
  }

  button#BehdashtOauthClient {
    margin-top: 15px !important;
  }
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.-bottom-\[120px\] {
  bottom: -120px;
}

.bottom-\[20px\] {
  bottom: 20px;
}

.left-\[50px\] {
  left: 50px;
}

.right-\[50px\] {
  right: 50px;
}

.m-auto {
  margin: auto;
}

.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.flex {
  display: flex;
}

.hidden {
  display: none;
}

.h-1 {
  height: 0.25rem;
}

.h-\[80\%\] {
  height: 80%;
}

.h-screen {
  height: 100vh;
}

.w-\[150px\] {
  width: 150px;
}

.w-\[150px\] {
  width: 150px;
}

.w-\[300px\] {
  width: 300px;
}

.w-\[90\%\] {
  width: 90%;
}

.w-\[95\%\] {
  width: 95%;
}

.w-full {
  width: 100%;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-2 {
  gap: 0.5rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.border {
  border-width: 1px;
}

.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.al-p-4 {
  padding: 1rem;
}

.p-5 {
  padding: 1.25rem;
}

.p-10 {
  padding: 2.5rem;
}

.text-center {
  text-align: center;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-black {
  font-weight: 900;
}

.font-bold {
  font-weight: 700;
}

.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity));
}

.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity));
}

.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity));
}

.text-green-600 {
  --tw-text-opacity: 1;
  color: rgb(22 163 74 / var(--tw-text-opacity));
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color),
    0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color),
    0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

@media (min-width: 1024px) {
  .lg\:h-screen {
    height: 100vh;
  }

  .lg\:p-10 {
    padding: 2.5rem;
  }

  .lg\:bottom-\[50px\] {
    bottom: 50px;
  }

  .lg\:flex {
    display: flex;
  }

  .lg\:h-\[70\%\] {
    height: 70%;
  }

  .lg\:w-\[400px\] {
    width: 400px;
  }

  .lg\:w-\[80\%\] {
    width: 80%;
  }

  .lg\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .lg\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  .lg\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1280px) {
  .xl\:w-\[60\%\] {
    width: 60%;
  }

  .xl\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .xl\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

@media (min-width: 1280px) {
  .xl\:w-\[70\%\] {
    width: 70%;
  }
}

@media (min-width: 1536px) {
  .\32xl\:w-\[60\%\] {
    width: 60%;
  }
}

@media (min-width: 1024px) {
  .lg\:w-\[75\%\] {
    width: 75%;
  }
}

@media (min-width: 1280px) {
  .xl\:w-\[65\%\] {
    width: 65%;
  }
}

@media (min-width: 1536px) {
  .\32xl\:w-\[55\%\] {
    width: 55%;
  }
}

@media (min-width: 1024px) {
  .lg\:hidden {
    display: none;
  }
}

/* ==========================================================================
   iritco login — glassmorphism redesign (matches sayeh-rozan register page)
   Visual layer only. All CAS/Thymeleaf logic in the templates is unchanged.
   ========================================================================== */

/* Full-screen background photo (overrides the earlier body { bg.jpg } rule). */
body.login {
  background-image: url("/themes/iritco/images/login-bg-7834979d331d45ced3f42824bd6c2185.jpg") !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}

/* Dark overlay above the photo, below the card. */
.refah-login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

/* Centered stage that holds the glass card. */
.refah-login-stage {
  position: relative;
  z-index: 10;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

/* The frosted-glass card. */
.refah-glass-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 560px;
  padding: 32px 28px;
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

/* Logo + title header inside the card. */
.refah-glass-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.refah-glass-header img {
  width: 130px;
  height: auto;
}

.refah-glass-header h1 {
  margin: 0;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
}

/* MDC label wrappers become simple block containers (kill inline-flex). */
.refah-glass-card label.mdc-text-field {
  display: block !important;
  height: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  overflow: visible !important;
}

/* Force the notched-outline out of absolute positioning so the label inside it
   flows ABOVE the input (DOM order: outline/label first, then input). */
.refah-glass-card .mdc-notched-outline {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  border: none !important;
  background: transparent !important;
}

/* Leading/trailing spans are pure border decoration — remove them. */
.refah-glass-card .mdc-notched-outline__leading,
.refah-glass-card .mdc-notched-outline__trailing {
  display: none !important;
}

.refah-glass-card .mdc-notched-outline__notch {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* Field labels (floating MDC label repurposed as a static top label). */
.refah-glass-card .mdc-floating-label {
  position: static !important;
  transform: none !important;
  display: block !important;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.875rem;
  font-weight: 500;
  pointer-events: auto;
  overflow: visible !important;
}

.refah-glass-card .cas-field {
  margin-bottom: 18px;
}

/* Glass input fields. */
.refah-glass-card .mdc-text-field__input,
.refah-glass-input {
  box-sizing: border-box;
  width: 100%;
  height: 52px;
  padding: 0 20px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  caret-color: #ffffff;
  outline: none !important;
  box-shadow: none !important;
  transition: 0.2s;
}

.refah-glass-card .mdc-text-field__input::placeholder {
  color: rgba(255, 255, 255, 0.35) !important;
}

.refah-glass-card .mdc-text-field__input:hover {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.refah-glass-card .mdc-text-field__input:focus {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Autofill fallback so Chrome doesn't paint an opaque light box. */
/* .refah-glass-card .mdc-text-field__input:-webkit-autofill,
.refah-glass-card .mdc-text-field__input:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff;
  -webkit-box-shadow: 0 0 0 1000px rgba(40, 40, 40, 0.9) inset;
  transition: background-color 9999s ease-out 0s;
} */

/* Password field is inside an input-group — let it fill the row. */
.refah-glass-card .mdc-input-group,
.refah-glass-card .mdc-input-group-field {
  width: 100%;
}

.refah-glass-card .caps-check {
  position: relative;
  width: 100%;
}

/* Reveal-password button, floated inside the glass input (RTL: left side). */
.refah-glass-card .reveal-password {
  position: absolute;
  top: 25px;
  left: 12px;
  min-width: 0 !important;
  width: auto !important;
  padding: 4px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.5) !important;
  border: none !important;
}

.refah-glass-card .reveal-password .reveal-password-icon {
  color: rgba(255, 255, 255, 0.6);
}

/* Keep typed password clear of the eye icon (RTL: icon sits on the left). */
.refah-glass-card .pwd {
  padding-left: 44px !important;
}

/* Validation + capslock helper messages. */
.refah-glass-card .mdc-text-field-helper-text {
  color: #f87171 !important;
  font-size: 0.75rem;
}

.refah-glass-card .mdc-text-field-helper-line {
  padding: 0 4px;
}

/* Primary submit button (rendered by the shared submitbutton fragment,
   id="submitBtn"). Scoped by id so the reveal-password .mdc-button is untouched. */
.refah-glass-card #submitBtn,
.refah-glass-btn {
  width: 100%;
  height: 52px;
  border-radius: 18px !important;
  background: #ffffff !important;
  color: #000000 !important;
  font-weight: 600;
  font-size: medium;
  box-shadow: none !important;
  transition: transform 0.15s ease, background 0.15s ease;
}

.refah-glass-card #submitBtn .mdc-button__label,
.refah-glass-card #submitBtn i {
  color: #000000 !important;
}

.refah-glass-card #submitBtn:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  transform: scale(1.02);
}

.refah-glass-card #submitBtn:active {
  transform: scale(0.98);
}

.refah-glass-card #submitBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Secondary links (forgot password / register). */
.refah-glass-links {
  margin: 16px 0 4px;
  text-align: center;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.refah-glass-link,
.refah-glass-links a {
  color: rgba(255, 255, 255, 0.6) !important;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.refah-glass-link:hover,
.refah-glass-links a:hover {
  color: #ffffff !important;
}

.refah-glass-sep {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 8px;
}

/* Error banner on the glass card. */
.refah-glass-card .banner-danger,
.refah-glass-card .alert-danger {
  color: #fecaca !important;
  background: rgba(220, 38, 38, 0.15) !important;
  border: 1px solid rgba(248, 113, 113, 0.4) !important;
  border-radius: 14px;
  padding: 12px 16px;
}

/* Remember-me / checkbox labels readable on glass. */
.refah-glass-card .form-check-label,
.refah-glass-card .mdc-form-field > label {
  color: rgba(255, 255, 255, 0.75);
}

/* =========================================================
   Simple MFA (OTP) page on the glass card
   ========================================================= */
/* OTP digits flow left-to-right even though the page is RTL */
.refah-glass-card .otp-row {
  direction: ltr;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0.5rem 0 1rem;
}

/* Info banner readable on the dark glass card */
.refah-glass-card .banner-info,
.refah-glass-card .alert-info {
  color: #dbeafe !important;
  background: rgba(59, 130, 246, 0.18) !important;
  border: 1px solid rgba(96, 165, 250, 0.4) !important;
  border-radius: 14px;
  padding: 12px 16px;
}

/* OTP hint text readable on the dark glass card */
.refah-glass-card .otp-hint {
  color: rgba(255, 255, 255, 0.85) !important;
  text-align: center;
  font-size: 0.9rem;
}

/* OTP digit boxes */
.refah-glass-card .otp-box {
  width: 52px;
  height: 60px;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #1f2d3d !important;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.refah-glass-card .otp-box:focus {
  border-color: #0f6a4f;
  box-shadow: 0 0 0 3px rgba(15, 106, 79, 0.25);
}
.refah-glass-card .otp-box:disabled {
  opacity: 0.55;
}
.refah-glass-card .refah-msg-area .banner p {
  margin: 0;
}
.refah-glass-card .refah-countdown {
  display: inline-block;
  min-width: 4.5rem;
}

/* Resend / submit labels readable on glass */
.refah-glass-card .mdc-button__label {
  color: #ffffff !important;
}

@media (max-width: 480px) {
  .refah-glass-card {
    padding: 24px 18px;
    border-radius: 30px;
  }
}