﻿@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --primary-color: #1f4397;
  --warning-color: #ec7c30;
  --error-color: #cd1002;
  --white-color: #fefefe;
  --gs1-blue: #1a3a6e;
  --gs1-light-blue: #2b5aa0;
  --gs1-accent: #2563eb;
  --gs1-bg: #f8fafc;
  --gs1-text: #334155;
  --gs1-muted: #64748b;
  --gs1-border: #e2e8f0;
}
product-flex-layout
/*body, *:not(.rzi):not(.material-icons) {
    font-family: "Inter", sans-serif !important;
}
}*/

/* Global body font */
body {
  font-family: "Inter", sans-serif;
}

/* Remix Icon */
i.ri,
.ri {
  font-family: "remixicon" !important;
  font-style: normal;
  speak: none;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Material Icons */
.material-icons {
  font-family: "Material Icons" !important;
}

/*Nav Bar*/

#layout-menu,
#layout-navbar {
  /*    background-color: var(--white-color) !important;*/
}

.bg-menu-theme {
  background-color: var(--white-color) !important;
}

.layout-content-navbar .content-wrapper {
  background: #f7f7f7;
}

.app-brand-text {
  color: #ec7c30 !important;
  font-size: 15px !important;
  margin: auto !important;
  height: 30px;
  overflow: hidden !important;
  letter-spacing: normal !important;
  text-overflow: ellipsis !important;
}

@media (min-width: 1200px) {
  .layout-menu-collapsed:not(.layout-menu-hover):not(
      .layout-menu-offcanvas
    ):not(.layout-menu-fixed-offcanvas)
    .layout-menu
    .app-brand-text {
    white-space: nowrap;
    opacity: 0;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

.menu-vertical .menu-item .menu-link,
.menu-vertical .menu-header,
.menu-vertical .menu-block {
  padding: 0.437rem 0.2rem;
}

.layout-wrapper:not(.layout-horizontal)
  .menu-vertical
  .menu-inner
  > .menu-item
  .menu-sub
  > .menu-item
  > .menu-link::before {
  content: "";
  width: 0px;
  height: 0px;
}

.layout-wrapper:not(.layout-horizontal)
  .menu-vertical
  .menu-inner
  > .menu-item
  > .menu-sub
  > .menu-item
  > .menu-link {
  padding-left: 1.55rem;
}

.layout-wrapper:not(.layout-horizontal) .menu-vertical .menu-sub .menu-icon {
  margin-right: 0.5rem;
}

/*Inputs*/
form .invalid,
form .is-invalid .invalid:before,
form .is-invalid::before {
  border: 1px solid;
  outline: var(--error-color);
  outline-width: thin;
}

.validation-message {
  color: var(--error-color);
  font-size: 12px;
  font-weight: normal;
  margin-top: 5px;
}

.app-password-container {
  position: relative;
}

.app-password-icon {
  position: absolute;
  top: 20%;
  right: 15px;
  cursor: pointer;
}

/*File Input*/
.app-file-list {
  font-size: 0.8125rem;
  margin-top: 5px;
}

.app-file-list table td {
  padding: 5px !important;
  background: #f0f3f6 !important;
  margin-top: 2px;
}

.app-file-list table td:first-child {
  border-bottom-left-radius: 0.375rem;
  border-top-left-radius: 0.375rem;
}

.app-file-list table td:last-child {
  border-bottom-right-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}

.upload-zone {
  border: 2px dashed #d0d5dd;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  position: relative;
  background-color: #f9f9f9;
  transition: background-color 0.3s;
}

.upload-zone:hover {
  background-color: #eef;
}

.app-form-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.app-form-content {
  flex: 1; /* grow to available height */
  max-height: 65vh; /* control dialog body size */
  overflow-y: auto; /* scroll only fields */
  overflow-x: hidden;
  padding: 12px;
}

.app-form-actions {
  position: sticky;
  bottom: 0;
  background: white;
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

/*Data Grid Table List*/
.mud-data-grid .mud-table-cell .column-header {
  display: flex;
  align-items: center;
}

.mud-data-grid .mud-table-cell .column-header > div {
  display: flex !important;
  /*        justify-content: flex-start !important;*/
  align-items: center;
  width: 100% !important;
}

.mud-table-sticky-header * .mud-table-root .mud-table-head .mud-table-row {
  background: var(---l-table-header-color) !important;
  font-weight: 500;
}

.mud-table-head .mud-table-row .mud-table-cell {
  background: var(--mba-table-header-color) !important;
  color: #fff !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.mud-table-head .mud-table-row .mud-table-cell .mud-icon-root.mud-svg-icon {
  fill: #fff !important;
}

.mud-table-dense * .mud-table-row .mud-table-cell {
  padding-right: 10px;
}

.mud-table-row .mud-table-cell .mud-table-cell-content {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .mud-table-row .mud-table-cell {
    align-items: start;
    text-align: right !important;
  }

  .mud-table-row .mud-table-cell .mud-table-cell-content {
    white-space: normal;
    text-align: right;
  }

  .mud-table-pagination-caption {
    padding: 0;
  }
}

.mud-table-toolbar {
  padding-left: 8px !important;
  padding-inline-start: 8px !important;
}

.mud-data-grid
  .mud-table-cell
  .column-header
  .column-options
  .mud-menu
  .mud-icon-button-label {
  display: none !important;
}

.mud-table-pagination-select .mud-input .mud-input-root {
  min-width: 25px !important;
  max-width: 30px !important;
}

.mba-search-container {
  width: 320px;
  padding-left: 0;
  padding-top: 0;
}

/* outer wrapper */
.mba-search-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: center;
  border-radius: 0.5rem;
  overflow: hidden;
  padding: 0;
  transition: all 0.2s ease;
}

.mba-search-wrapper:hover,
.mba-search-wrapper:focus-within {
  box-shadow: 0 0 0 1px #dbebfe;
}

.mba-search-input-field {
  flex: 1;
  padding: 10px 20px 9.5px 12px;
  border-radius: 0.5rem 0 0 0.5rem;
  outline: none;
  box-shadow: none;
}

.mba-search-button {
  background-color: #dbebfe;
  color: #1f4397;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.mba-search-button:hover {
  background-color: #c9d9f0;
}

.old-member-section {
  font-size: 14px;
}

.old-member-section input,
.old-member-section select,
.old-member-section .mud-input,
.old-member-section .mud-select,
.old-member-section .mba-select {
  font-size: 14px;
}

.old-member-search-btn {
  width: 28px !important;
  height: 28px;
  background: #1f4397;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.old-member-search-btn:hover {
  box-shadow: 0 4px 12px rgba(106, 127, 176, 0.35);
}

.mba-borderless-input {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background-color: transparent !important;
}

.mba-borderless-input:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.filter-icon {
  width: 15px !important;
}

/*Dialog*/
.delete-dialog {
  width: 450px;
  height: 250px;
}

.app-dialog {
  max-width: 450px !important;
  min-width: 450px !important;
}

.app-modal-title {
  padding: 20px 20px 0px 20px;
}

.app-dialog .mud-dialog-title,
.app-modal-title {
  /*    font-size: 16px !important;*/
}

.app-dialog .mud-dialog-content {
  margin: 0 !important;
  padding: 0 !important;
}

.app-modal-content .modal-footer {
  color: var(--app-color) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  margin: 10px;
  margin-bottom: 20px;
}

.app-modal-content .delete-icon {
  padding: 15px;
  font-size: 35px;
  border-radius: 50%;
  color: #f63328;
  border: 1px solid #f63328;
  margin: auto;
}

.app-modal-content .confirm-icon {
  font-size: 50px;
  color: var(--primary-color);
  margin: auto;
}

.app-modal-content .dialog-icon {
  font-size: 50px;
  color: var(--mba-color);
}

.app-modal-content .dialog-icon.error {
  color: var(--mba-delete-color);
}

.app-modal-content .dialog-icon.warning {
  color: var(--mba-info-color);
}

.app-filter-dialog {
  max-width: 600px !important;
}

.app-fee-dialog {
  padding-bottom: 15px !important;
  max-width: 800px;
  border: 2px, solid, #ec8b1f;
  border-radius: 0.5rem;
  align-items: center;
}

.app-fee-dialog .mud-dialog-content {
  margin: 10px !important;
  width: 620px;
}

.app-fee-dialog .mud-dialog-content .fee-card {
  margin: 10px 0px !important;
  border: 2px solid #ed7b2f;
  border-radius: 0.5rem;
  padding: 25px !important;
}

.fee-value {
  text-align: end;
  font-weight: 500;
  font-size: 14px;
}

.app-dialog-title {
  font-size: 17px;
  font-weight: 200;
  margin: 0;
  color: #1f4397;
}

/*Loader*/
#loader-container {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  z-index: 1000000;
  opacity: 0.8;
  background: #eaebec;
}

.loader {
  position: absolute;
  z-index: 10000;
  top: 50%;
  left: 50%;
  width: 50px;
  padding: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #0819fb;
  --_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
  mask: var(--_m);
  -webkit-mask-composite: source-out;
  mask-composite: subtract;
  animation: l3 1s infinite linear;
}

@keyframes l3 {
  to {
    transform: rotate(1turn);
  }
}

/*Notification*/
#app-noti .list-group-item-action.not-read {
  background: #eeeeff;
}

.submission-toggle {
  display: inline-flex;
  border: 1px solid #eff7ff;
  border-radius: 8px;
  margin-right: 30px;
  overflow: hidden;
}

.toggle-btn {
  padding: 6px 20px;
  border: none;
  background: white;
  cursor: pointer;
}

.toggle-btn.active {
  background: #e8f0ff;
  color: #1976d2;
  font-weight: bold;
}

.radio-color .mud-radio .mud-icon-root {
  color: #1f4397 !important;
}

.equal-tabs {
  background: white;
  height: 100%;
}

.equal-tabs .mud-tab {
  flex: 1 1 0 !important;
  text-align: center !important;
}

.raw-import-bg {
  background-image: url("/images/raw_import_app_bg.svg");
  background-color: #1f4397;
  background-size: cover;
  background-position: center;
  background-repeat: repeat-x;
}

/* Active tab text color */
.equal-tabs .mud-tab.mud-tab-active {
  color: #1f4397 !important; /* Your active color */
}

.equal-tabs .mud-tab-slider {
  background-color: #1f4397 !important;
}

.mba-text-field .mud-input-outlined-border {
  border: none !important;
  border-radius: 8px;
}

.mba-text-field .mud-input-control-input-container {
  background-color: #f8fafc !important;
}

.no-spinner input[type="number"]::-webkit-outer-spin-button,
.no-spinner input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.no-spinner input[type="number"] {
  -moz-appearance: textfield;
}

.hide-scrollbar {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
}

.custom-table thead tr {
  background-color: #1f4397; /* Dark Blue */
  color: white;
  height: 45px;
}

.custom-table thead th {
  padding: 10px;
  font-size: 14px;
  text-align: left;
  font-weight: 600;
}

/* Rounded Corners */
.custom-table thead th:first-child {
  border-top-left-radius: 10px;
}

.custom-table thead th:last-child {
  border-top-right-radius: 10px;
}

.custom-table tbody td {
  padding: 14px 10px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #333;
}

.delete-btn {
  background: #e7003f;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.delete-btn:hover {
  background: #c80035;
}

.delete-btn i {
  font-style: normal;
  font-size: 16px;
}

.my-custom-checkbox .mud-checkbox .mud-icon-root {
  color: #1f4397 !important;
}

/*Select 2*/

.select2-container .select2-selection--single,
.select2-container .select2-selection--multiple {
  height: 2.5rem !important;
  padding: calc(0.629rem - 1px) calc(1rem - 1px);
  font-size: 0.875rem; /* same as form-control-sm */
  line-height: 1.5;
}

.light-style .select2-container--default .select2-selection--multiple {
  min-height: 2.5rem !important;
}

.select2-container .select2-selection__rendered {
  line-height: 1.3 !important;
  padding-left: 0px !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow,
.select2-container--default
  .select2-selection--multiple
  .select2-selection__arrow {
  height: 2.3rem !important;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  margin-top: 0px !important;
}

.select2-dropdown {
  z-index: 10000 !important; /* Use a very high number */
}

body,
.wrapper {
  overflow-x: hidden !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  overflow: visible !important;
}

/*main page Card Design start*/
.mba-main-page-content {
  display: flex;
  justify-content: flex-start !important;
  padding: 10px 0;
  gap: 10px;
  height: 68vh;
}

.mba-main-page-left-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 77%;
  gap: 10px;
}

.mba-main-page-right-container {
  background-color: #fff;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 23%;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(106, 127, 176, 0.12);
}

.mba-main-page-ads {
  background-color: #fff;
  border-radius: 0.8rem;
  display: flex;
  justify-content: space-between;
  overflow-y: auto;
  height: 55%;
  box-shadow: 0 2px 6px rgba(106, 127, 176, 0.12);
}

.mba-main-page-foc {
  background-color: #fff;
  border-radius: 0.8rem;
  display: flex;
  justify-content: space-between;
  height: 45%;
  box-shadow: 0 2px 6px rgba(106, 127, 176, 0.12);
}

.general-information-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  overflow-y: auto;
}

.mba-main-page-card {
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1) !important;
  background-color: #f7f7f7 !important;
  border-radius: 0.5rem !important;
  border: 1px solid rgb(241, 235, 235);
  min-height: 28vh;
}

.mba-main-page-card .mud-card-media {
  border-radius: 0.5rem !important;
  background-size: cover;
  background-position: center;
}

.mba-main-page-card .mud-card-content {
  padding: 6px 16px 1px 16px !important;
  color: #777;
}

.mba-main-page-card .mud-card-actions {
  padding: 4px 8px !important;
  display: flex !important;
  justify-content: end !important;
}

.mba-main-page-card .mud-card-actions .mud-button {
  color: #1f4397;
  padding: 1px;
  margin: 1px;
}

/*main page Card Design end*/

/* nav meny style override start */
.menu-item.open > .menu-link.menu-toggle {
  background-color: #dbebfe !important;
  border-radius: 0 25px 25px 0 !important;
}

.menu-item.open > .menu-link.menu-toggle div,
.menu-item.open > .menu-link.menu-toggle .menu-icon svg path {
  color: #1f4397 !important;
  fill: #1f4397 !important;
}

.menu-item .menu-link {
  margin: 0px 8px !important;
  padding: 5px 10px 5px 20px !important;
  font-size: 14px !important;
}

.menu-link.disabled {
  cursor: not-allowed !important;
  opacity: 0.6;
  filter: grayscale(40%) brightness(90%);
  pointer-events: none !important;
}

.menu-link.non_cmp_disabled {
  opacity: 0.6;
  filter: grayscale(40%) brightness(90%);
  pointer-events: auto;
}

.menu-item.active > .menu-link {
  background-color: #dbebfe !important;
  border-radius: 0 25px 25px 0 !important;
  color: #1f4397 !important;
}

.menu-item.active > .menu-link .menu-icon svg path {
  fill: #1f4397 !important;
}

.menu-item.open .menu-sub .menu-item.active > .menu-link {
  background-color: #e8f2ff !important;
  border-radius: 0 20px 20px 0 !important;
  color: #1f4397 !important;
}

.menu-item.open .menu-sub .menu-item.active .menu-icon svg path {
  fill: #1f4397 !important;
}

.menu-sub {
  padding-left: 0px !important;
}

.menu-sub .menu-link {
  padding-left: 30px !important;
}

.menu-sub .menu-sub {
  padding-left: 0px !important;
}

.menu-sub .menu-sub .menu-link {
  padding-left: 50px !important;
}

.menu-link:hover {
  background-color: #f5f9ff !important;
}

/* nav meny style override start end */

/*header style start*/
.layout-navbar {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background-color: #ffffff !important;
  box-shadow: none;
}

#layout-navbar .container-xxl,
#layout-navbar .container-xl,
#layout-navbar .container-fluid {
  max-width: 100% !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

.layout-navbar.navbar {
  height: 56px !important;
}

.mba-header-profile-icon img {
  margin-top: 2px !important;
  width: 35px !important;
  height: 35px !important;
}

.mba-header-profile {
  display: flex !important;
  gap: 5px !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/*header style end*/

.mud-dialog-width-sm {
  max-width: 450px;
}

/*for nrc input boxes*/
.no-ellipsis
  .select2-container
  .select2-selection--single
  .select2-selection__rendered {
  text-overflow: clip !important;
}

.mud-tab.mud-tab-active {
  color: var(--primary-color);
  border-left: 3px solid #1f4397 !important;
  background-color: #e1eaff;
}

.d-flex {
  flex-wrap: nowrap !important;
}

.mba-link-button {
  text-decoration: none !important;
}

/*profile*/
.mba-profile-warning-pannel {
  border: 1px dashed #ec7c30;
  background-color: #fef7ee;
  color: #2c364a;
}

.mba-profile-photo {
  width: 100px;
  height: 100px;
  border-radius: 5px;
  object-fit: cover;
}

/*profile*/

/*App Input file*/
.mba-file-icon {
  width: 40px;
}

.mba-profile-detail-checkbox input[type="checkbox"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 2px solid #999;
  border-radius: 3px;
}

.mba-profile-detail-checkbox input[type="checkbox"]:disabled:checked {
  background-color: blue;
  border-color: blue;
}

/*----kg form create----*/
.mba-kg-form-weight-toggle {
  gap: 10px;
  margin-bottom: 20px;
}

.mba-kg-form-button {
  padding: 5px 15px;
  border-radius: 50px;
  border: 1px solid #d0d5dd;
  background-color: #ffffff;
  color: #344054;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.mba-kg-form-button:not(.active):hover {
  background-color: #ddd;
}

.mba-kg-form-button.active {
  background-color: #204396;
  color: #ffffff;
}

.mba-kg-form-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 767.98px) {
  .layout-navbar .navbar-nav .nav-item.dropdown {
    position: relative !important;
  }
}

/*-----calendar style-----*/
.calendar-container {
  background-color: #fff;
  border-radius: 0.5rem;
  padding: 10px 20px;
}

.calendar-control {
}

.scheduler-scroll-container {
  height: 61vh;
  overflow-y: auto;
}

.rz-event .event {
  background-color: #bfdcff !important;
  color: #4765bf !important;
  border-radius: 0.5rem;
  padding: 3px 20px;
  font-size: 12px;
  font-weight: 500;
}

.rz-event .training {
  background-color: rgba(255, 150, 27, 0.2) !important;
  color: orange !important;
  border-radius: 0.5rem;
  padding: 3px 20px;
  font-size: 12px;
  font-weight: 500;
}
.permission-table-container thead.sticky-top {
  z-index: 10 !important;
}

.permission-table-container {
  position: relative;
  z-index: 1;
}

.global-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex !important;
  justify-content: center;
  align-items: center;
  z-index: 9999999999 !important;
}

.table-container {
  overflow-x: auto;
  width: 100%;
}
