.font-large {
  font-size: 32px;
}

.font-heading {
  font-size: 40px;
}

.font-sub-heading {
  font-size: 28px;
}

.font-extra-large-title {
  font-size: 26px;
}

.font-large-title {
  font-size: 24px;
}

.font-medium-title {
  font-size: 23px;
}

.font-small-title {
  font-size: 22px;
}

.font-title {
  font-size: 20px;
}

.font-large-description {
  font-size: 19px;
}

.font-description {
  font-size: 18px;
}

.font-body {
  font-size: 17px;
}

.font-label {
  font-size: 16px;
}

.font-sub-label {
  font-size: 15px;
}

.font-note {
  font-size: 14px;
}

.font-footer {
  font-size: 13px;
}

.font-secondary {
  font-size: 12px;
}

.font-small {
  font-size: 11px;
}

.font-tab {
  font-size: 10px;
}

.font-small-tab {
  font-size: 9px;
}

.weight-regular {
  font-family: "Poppins-Regular";
}

.weight-medium {
  font-family: "Poppins-SemiBold";
}

.weight-bold {
  font-family: "Poppins-Bold";
}

.italic-regular {
  font-family: "Poppins-Italic";
}

.system-font {
  font-family: "System";
}

/* Gradient Text Styles */
.opacity-zero {
  opacity: 0;
}

.text-style {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.margin-right-five {
  margin-right: 5px;
}

@media screen and (max-width: 550px) {
  .font-large {
    font-size: 28px;
  }

  .font-heading {
    font-size: 36px;
  }

  .font-sub-heading {
    font-size: 24px;
  }

  .font-extra-large-title {
    font-size: 22px;
  }

  .font-large-title {
    font-size: 20px;
  }

  .font-medium-title {
    font-size: 19px;
  }

  .font-small-title {
    font-size: 18px;
  }

  .font-title {
    font-size: 16px;
  }

  .font-large-description {
    font-size: 15px;
  }

  .font-description {
    font-size: 14px;
  }

  .font-body {
    font-size: 13px;
  }

  .font-label {
    font-size: 12px;
  }

  .font-sub-label {
    font-size: 11px;
  }

  .font-note {
    font-size: 10px;
  }

  .font-footer {
    font-size: 9px;
  }

  .font-secondary {
    font-size: 8px;
  }

  .font-small {
    font-size: 7px;
  }

  .font-tab {
    font-size: 6px;
  }

  .font-small-tab {
    font-size: 5px;
  }
}

.closeButton {
  cursor: pointer;
  border-radius: 50%;
}

.clearIcon {
  height: 0.7vw !important;
  width: 0.7vw !important;
  margin: 2px;
}

.animated-loader-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0.6;
  z-index: 10;
}

.animated-loader-lottie {
  width: 200px;
  height: 200px;
}

.filter-title-style {
  font-size: max(0.9vw, 12px) !important;
}

.date-picker-container {
  z-index: 9;
}

.select-box-style {
  height: max(2.4vw, 40px) !important;
  min-width: 200px;
  font-size: max(0.8vw, 10px);
}

.select-box-style * {
  font-size: max(0.8vw, 10px) !important;
}

.date-dropdown-item-style {
  font-size: max(0.8vw, 10px) !important;
}

.date-picker {
  border-radius: 4px;
  height: max(2.4vw, 40px) !important;
  border-width: 1px;
  border-style: solid;
  margin-left: -10px;
}

.date-picker * {
  height: max(2.4vw, 40px) !important;
  font-size: max(0.8vw, 10px) !important;
  font-family: "Poppins-Regular" !important;
}

.date-picker div {
  border: none !important;
  padding-left: 10px;
}

@media screen and (max-width: 550px) {
  .select-box-style {
    width: 100px;
  }
}

.parent-class > * {
  flex: 1 1 100%;
}

.loan-detail-modal-body-style {
  width: "min(25vw, 500px)";
}

.loan-detail-url-container-style {
  word-break: break-word;
  display: block;
}

.loan-details-url-modal-Body-Style {
  word-break: break-all;
  max-height: 150px;
  overflow-y: auto;
}

.loan-detail-close-button-style {
  background: none;
  border: none;
  transition: all 0.2s;
}

.loan-detail-tooltip-style {
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 16px;
  z-index: 1000;
  max-width: 400px;
  width: -moz-max-content;
  width: max-content;
  word-break: break-all;
}

.load-detail-tooltip-container {
  max-width: 500px;
}

/* Default behavior for parent-class without fields-per-row classes */
@media (min-width: 600px) {
  .parent-class:not([class*="fields-per-row-"]) > * {
    flex: 0.5; /* same as flex-grow: 0.5; flex-shrink: 0.5; flex-basis: 0; */
  }
}

/* Dynamic fields per row classes */
.parent-class.fields-per-row-1 > * {
  flex: 1 1 100% !important;
}

.parent-class.fields-per-row-2 > * {
  flex: 1 1 50% !important;
  min-width: calc(48%) !important;
  max-width: calc(48%) !important;
}

.parent-class.fields-per-row-3 > * {
  flex: 1 1 33.333% !important;
  min-width: calc(31%) !important;
  max-width: calc(31%) !important;
}

.parent-class.fields-per-row-4 > * {
  flex: 1 1 25% !important;
  min-width: calc(25% - 0.5rem) !important;
  max-width: calc(25% - 0.5rem) !important;
}

/* Mobile responsive - always stack on mobile */
@media (max-width: 599px) {
  .parent-class.fields-per-row-1 > *,
  .parent-class.fields-per-row-2 > *,
  .parent-class.fields-per-row-3 > *,
  .parent-class.fields-per-row-4 > * {
    flex: 1 1 100% !important;
    min-width: 100% !important;
  }
  .form-field {
    flex: 1 1 100%;
    min-width: 100%;
  }
}

.info-box {
  border-radius: 1vw;
  padding: 0.75rem;
  margin: 0.75rem 0;
}

@media (min-width: 640px) {
  .info-box {
    padding: 1rem;
    margin: 1rem 0;
  }
}

.regular-text-font {
  font-size: max(0.5vw, 10px) !important;
}

.month-dropdown-box {
  height: max(2.4vw, 42px);
  border: 2px solid;
  border-radius: 8px !important;
  font-size: max(0.7vw, 12px) !important;
}

/* BNPL basic details — MultiSelect (search + Apply/Close), same visual language as month-dropdown-box */
.multi-select-chip-style {
  font-size: max(0.7vw, 12px) !important;
  padding: max(0.35vw, 6px) max(0.5vw, 8px) !important;
}

.multi-select-badge-style {
  font-size: max(0.6vw, 10px);
}

.multi-select-render-value-single-line {
  flex-wrap: nowrap;
}

.multi-select-render-value-single-line .MuiChip-root {
  max-width: 100%;
  min-width: 0;
}

.multi-select-render-value-single-line .MuiChip-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.error-text {
  margin-top: 5px;
  margin-left: 20px;
}

.button-border-personal-profile {
  border-radius: 10px !important;
}

.badge-style {
  right: 5vw !important;
}

.card-style {
  border-width: 0.1vw;
  border-style: solid;
  padding: 2.2vh 1.6vw;
  border-radius: 0.6vw;
  transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.card-style:hover {
  transform: scale(1.01);
}

.card-action-style {
  transition: transform 0.3s ease-in-out;
}

.card-action-style:hover {
  transform: scale(1.01);
}

.error-screen-style {
  height: 60vh;
}

@media (max-width: 600px) {
  .error-screen-style {
    height: 65vh;
  }
}

.bnpl-basic-details-otp-row {
  flex-wrap: nowrap;
}

.bnpl-basic-details-otp-cell {
  width: max(2.6vw, 45px);
  height: max(2.6vw, 45px);
}

.form-field-text-style {
  font-size: min(13px, 3.5vw);
}

.border-bottom-style {
  border-bottom: 1px solid;
}

.bnpl-select-plan-emi-card-surface {
  width: 100%;
  box-sizing: border-box;
}

.bnpl-select-plan-emi-card-surface.card-style:hover {
  transform: none;
}

.bnpl-select-plan-emi-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.75rem;
}

.bnpl-select-plan-emi-card-header-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-width: 0;
  flex: 1;
}

.bnpl-select-plan-emi-category-chip {
  max-width: 100%;
}

.bnpl-select-plan-emi-category-chip .MuiChip-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bnpl-select-plan-emi-card-radio {
  padding: 0.25rem;
  flex-shrink: 0;
}

.bnpl-select-plan-emi-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  row-gap: 1rem;
  padding-top: 1rem;
}

/** @format */

.loading-spinner {
  border-style: solid;
  border-top-style: solid;
  border-radius: 50%;
  animation: spinner 1s linear infinite;
}

.loading-spinner-large {
  width: 50px;
  height: 50px;
  border-width: 5px;
}

.loading-spinner-small {
  width: 25px;
  height: 25px;
  border-width: 3px;
}

.spinner-container {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9999;
}

@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 550px) {
  .loading-spinner-large {
    width: 30px;
    height: 30px;
    border-width: 5px;
    border-top-width: 5px;
  }

  .loading-spinner-small {
    width: 15px;
    height: 15px;
    border-width: 2px;
  }
}

/** @format */

.button {
  width: calc(100% - 4px);
  align-self: center;
  border-radius: 5px;
  border: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-border {
  height: 50px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-height {
  height: 46px;
}

.button-disabled-height {
  height: 50px;
}

.react-button-loading {
  border-style: solid;
  border-top-style: solid;
  border-radius: 50%;
  animation: spinner 1s linear infinite;
}

.button-loading-spinner {
  height: 60%;
  aspect-ratio: 1/1;
  border-width: 2px;
}

@media screen and (max-width: 550px) {
  .button-height {
    height: 33px;
  }

  .button-disabled-height {
    height: 35px;
  }

  .button {
    width: calc(100% - 2px);
    font-size: 12px;
    border-radius: 3px;
  }

  .button-border {
    height: 35px;
    border-radius: 3px;
  }

  #button {
    margin-top: 20px;
    margin-bottom: 10px;
  }
}

/** @format */

.main-container {
  width: min(550px, 90vw);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-self: center;
}

.checkbox-container {
  margin-left: 20px;
  display: flex;
  flex-direction: "row";
  justify-content: "flex-start";
  align-self: "center";
}

.checkbox-container:hover {
  cursor: pointer;
}

.checkbox {
  height: 20px;
  margin-right: 10px;
}

.icon {
  width: 90px;
  align-self: center;
  margin-top: 10px;
}

.content-container {
  width: 75%;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.align-all-center {
  text-align: center;
  justify-content: center;
  align-items: center;
}

.title-style {
  margin-top: 20px;
}

.back-icon:hover {
  cursor: pointer;
}

.back-icon {
  width: 20px;
  height: 20px;
  left: 0;
  align-self: center;
  padding: 5px;
}

.back-icon-parent {
  flex-direction: row;
  display: flex;
  width: 100%;
  margin-bottom: 50px;
}

.zype-logo {
  width: 100px;
}

.zype-logo-parent {
  width: 100%;
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 550px) {
  .icon {
    width: 70px;
    margin-top: 20px;
  }

  .checkbox-container {
    font-size: 12px;
    margin-top: 30px;
  }

  .checkbox {
    height: 14px;
    margin-right: 6px;
  }

  .zype-logo {
    width: 70px;
    height: 25px;
  }

  .back-icon-parent {
    margin-bottom: 20px;
  }

  .back-icon {
    width: 15px;
    height: 15px;
  }
}

.crm-content-container {
  border-radius: 8px;
  border-width: 1px;
  border-style: solid;
  height: calc(100svh - 2vw - 6px);
  box-sizing: border-box;
  flex: 1;
}

.reset-login-title {
  font-size: max(1.1vw, 14px) !important;
}

.reset-image-container {
  height: calc(100svh - 8vw);
  width: 50vw;
}

.proceed-button {
  border-radius: 5px !important;
  margin-top: 3vh;
  width: 70% !important;
}

@media screen and (max-width: 550px) {
  .crm-content-container {
    height: auto;
    flex: none;
  }
  .reset-image-container {
    display: none !important;
  }
}

.login-form-container {
  width: min(90%, 300px);
}

.reset-login-button-width {
  width: max(150px, 20vw) !important;
}

.back-to-login-width {
  width: max(150px, 23vw) !important;
}

.take-notes-open {
  padding: 0.5vw 1vw;
  border-radius: 8px;
}

.open-close-icon {
  cursor: pointer;
  height: max(1.2vw, 15px) !important;
  width: max(1.2vw, 15px) !important;
}

.closed-icon-style {
  white-space: nowrap;
  margin-left: auto;
}
.open-icon {
  transform: rotate(180deg);
}

.dialer-body-style {
  transition:
    max-width 1s ease,
    max-height 1s ease;
  min-width: 25vw;
}

.dialer-header-style {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  transition: background-color 0.6s ease-in-out;
}

.dialer-caller-id-dropdown {
  margin-left: max(0.8vw, 12px);
  flex: 0 1 auto;
  max-width: max(16vw, 200px);
  min-width: max(10vw, 140px);
}

.dialer-header-caller-select {
  height: max(2.2vw, 36px) !important;
  width: 100% !important;
  border-radius: 999px !important;
}

.dialer-header-caller-select * {
  font-size: max(0.75vw, 12px) !important;
}

.dialer-caller-id-menu-item {
  font-size: max(0.75vw, 12px) !important;
  min-height: auto !important;
}

.dialer-header-transaction {
  transition: opacity 0.3s ease;
}

.notes-container-style {
  overflow-y: scroll;
  max-height: 30vh;
  -webkit-overflow-scrolling: touch;
}

.call-button-style {
  border-bottom-left-radius: 8px;
}

.open-icon-style {
  cursor: pointer;
  z-index: 3;
}

.content-style {
  min-height: 40vh;
}

.dialer-callback-pickers .dialer-callback-picker {
  min-width: 0;
}

.dialer-submit-loader {
  height: max(1.5vw, 20px);
  width: max(1.5vw, 20px);
  border-style: solid;
  border-width: 2px;
  border-radius: 50%;
  animation: dialer-spinner 1s linear infinite;
}

@keyframes dialer-spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.prompt-yes-button.button {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0.1vw;
}

.select-dropdown-style * {
  font-family: "Poppins-Regular" !important;
}

.dropdown-item-style {
  min-height: auto !important;
  padding: 10px 10px !important;
}

.dropdown-item-style {
  font-family: "Poppins-Regular" !important;
}

.dropdown-menu-loading-adornment {
  pointer-events: none;
}

.dropdown-group-header-style {
  line-height: 2.2vh;
  pointer-events: none;
}

/** @format */

#main-container {
  background-color: transparent;
}

.input-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.left-component {
  padding-left: 8px;
  display: flex;
  align-items: center;
}

.flex-one {
  flex: 1;
}

.input {
  outline: none;
  background-color: transparent;
  padding: 0 8px;
  border-width: 0px;
  width: 100%;
  background-clip: text;
  -webkit-background-clip: text;
  outline: none;
}

.right-component {
  padding-right: 8px;
  display: flex;
  align-items: center;
}

.error {
  margin-left: 20px;
  margin-top: 5px;
}

/* To remove arrows from input text */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.tick-mark-style {
  margin-right: 1vw !important;
}

.member-container {
  border-width: 1px;
  border-style: solid;
  height: max(2.4vw, 33px);
  width: max(2.4vw, 33px);
  border-radius: 8px;
}

.filter-icon {
  height: 100% !important;
  width: 100% !important;
}

.search-input {
  width: max(16vw, 150px);
}

.send-invite-button {
  border-radius: 5px;
  width: max(10vw, 120px) !important;
}

.role-dropdown-box {
  height: 30px;
  width: max(10vw, 100px);
}

.role-dropdown-box * {
  font-size: max(0.8vw, 10px) !important;
}

.text-font-size {
  font-size: max(0.8vw, 10px) !important;
}

.status-pillar {
  height: 3vh;
  width: 4px;
}

.select-box-style {
  height: 3.5vh;
}

.members-table-container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  box-shadow: none;
}

.members-table-container .RaDatagrid-root {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.members-table-container .RaDatagrid-tableWrapper {
  overflow-x: auto !important;
  width: 100%;
  max-width: 100%;
}

.members-table-container .RaDatagrid-table {
  width: 100%;
  min-width: -moz-max-content;
  min-width: max-content;
}

.modal-container {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 24px;
  outline: none;
  border-radius: 8px;
}

.button-container {
  border-radius: 8px;
}

.select-dropdown-style * {
  font-family: "Poppins-Regular" !important;
}

.chip-height {
  height: 2vh !important;
}

.selected-partners-drop-down {
  max-height: 20vh !important;
  width: 20vw;
}

.cancel-icon-style {
  height: 0.8vw !important;
  width: 0.8vw !important;
}

.cancel-icon-view-style {
  height: 1vw !important;
  width: 1vw !important;
}

.batch-icon-style {
  height: 2vh;
  width: 2vh;
}

.multi-select-footer-row {
  flex-wrap: nowrap;
}

.multi-select-footer-button {
  flex: 1 1 0;
  min-width: 0;
}

.multi-select-footer-button .button {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.multi-select-footer-button .button > div {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-container {
  border: 1px solid;
  border-radius: 8px;
  padding: 5px;
}

.note-indicator {
  width: 6px;
  border-radius: 3px;
}

.colending-badge-container {
  padding: 5px;
}

.recoveryPasswordText {
  font-size: max(0.4vw, 12px) !important;
}
.content-container-forgot-password {
  border-radius: max(3vw, 5vh) !important;
  border-width: 1px;
  border-style: solid;
  height: calc(100svh - 8vw - 6px);
  box-sizing: border-box;
}

.fullPage {
  width: 95%;
  height: 100vh;
}

.firstColumn {
  border: 1px solid;
  border-radius: 40px;
  height: 90vh;
}

.secondColumn {
  height: 90%;
}
.image-container-forgot-password {
  height: calc(100svh - 8vw);
  width: 55vw;
}

.imageShow {
  width: max(50vw, 300px);
  height: max(50vw, 300px);
}

@media screen and (max-width: 550px) {
  .image-container-forgot-password {
    display: none !important;
  }
}

@media screen and (max-width: 600px) {
  .firstColumn {
    width: 90vw;
    flex: 1;
  }

  .secondColumn {
    display: none;
  }
}

.login-form-container {
  width: min(90%, 300px);
}

.no-access-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 100vh;
}

.search-input {
  width: max(16vw, 150px);
}

.send-invite-button {
  border-radius: 5px;
  width: max(10vw, 120px) !important;
}

.save-permission-button {
  border-radius: 5px;
  width: max(10vw, 120px) !important;
  margin-right: 1vw;
}

.save-button {
  border-radius: 5px;
  width: max(7vw, 80px) !important;
}

.title-font {
  font-size: max(1.1vw, 14px) !important;
}

.screen-name-font-size {
  font-size: max(0.9vw, 12px) !important;
}

.roles-table-wrapper {
  height: max(400px, calc(94vh - 108px - max(3.8vw, 51px) - 2vw));
}

.datagrid-box-style {
  width: 92vw;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 100%;
}

.team-card {
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
  overflow: visible;
}

.team-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.team-card-detail:hover {
  transform: translateY(0) scale(1.04);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 1.5px 6px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.team-card-detail {
  margin: 1vw;
  padding: 1vw;
  min-width: 40svh;
}

.role-permission-screen-column-header-style-parent {
  top: 0;
  z-index: 12;
  min-width: -moz-fit-content;
  min-width: fit-content;
}

.role-permission-screen-column-header-style-child {
  left: 0;
  z-index: 10;
  min-width: -moz-fit-content;
  min-width: fit-content;
  min-width: max(200px, 10vw);
}

.roles-inner-child-style {
  min-width: max(320px, 20vw);
  width: max(320px, 20vw);
}

.role-name-header-style {
  padding: max(1vw, 8px) max(1vw, 16px);
}

.access-level-sub-header-style {
  padding: max(1vw, 8px) max(1vw, 4px);
  min-width: max(80px, 5vw);
}

.tab-indicator {
  transition:
    left 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.tab-item {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transition: opacity 0.2s ease-in-out;
  flex: 1 1 auto;
}

.dropdown-style-component {
  font-size: max(0.8vw, 12px) !important;
  height: max(5vh, 39px) !important;
}

.tab-item-icon-style {
  line-height: 0;
}

.tab-item-count-style {
  height: min(3.5vh, 38px);
  min-width: max(3vh, 32px);
}

.select-button {
  border-radius: 5px;
  padding: 10px 30px;
  border-width: 1px;
  border-style: solid;
}

.toggle-wrap {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.toggle-knob {
  position: absolute;
  top: 4px;
  left: 4px;
  border-radius: 999px;
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.2s ease,
    height 0.2s ease;
  pointer-events: none;
  z-index: 0;
}
.toggle-option {
  position: relative;
  z-index: 1;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

