@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    background-color: #f7f7f7;
}

#password-container {
  max-height: 0 !important;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0 !important;
}

#password-container.open {
  max-height:max-content !important; /* enough to fit both password fields */
  opacity: 1 !important;
}


#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

#loading .loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-disabled {
    cursor: not-allowed;
}

.fancybox__container {
    z-index: 10000 !important;
}

.submenu>ul>li {
 font-size: small;
}

.menu-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--gs-menu-background);
    z-index: 1000;
    background-color: #fff;
    padding: 3px 20px;
    box-shadow: rgba(0, 0, 0, 0.035) 0px 2px 4px 0px;
    border-bottom: 1px solid #E0E0E0;
}

.menu>li {
    display: inline-block;
    vertical-align: middle;
    list-style: none;
    position: relative;
}

.menu>li.brand {
    font-weight: 600;
    color: #C53F39;
}

.menu>li>a {
    text-decoration: none;
    color: inherit;
    padding: 1px 5px;
}

.menu>li>ul {
    display: none;
    padding: 10px 0 0 0;
    margin: 0;
}

.menu>li:hover>ul {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
}

.menu>li:hover>ul>div {
    background: #fff;
    padding: 6px 0;
    box-shadow: rgba(0, 0, 0, 0.035) 0px 2px 4px 0px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
}

.menu>li:hover>ul>div>li {
    list-style: none;
    white-space: nowrap;
}

.menu>li:hover>ul>div>li>a {
    display: block;
    color: inherit;
    text-decoration: none;
    min-width: 180px;
    padding: 4px 12px;
}

.menu>li:hover>ul>div>li>a:hover {
    background-color: #f7f7f7;
}


.menu>li:hover>ul>div>li.divider {
    height: 1px;
    padding: 0;
    margin: 2px 0;
    background-color: #EEEEEE;
}

.menu > li.user-end {
    float: right;
}

.content {
    padding: 50px 20px;
}

.heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.heading h4 {
    margin: 0;
}

.heading .actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    font-size: 14px;
    box-shadow: rgba(0, 0, 0, 0.035) 0px 2px 4px 0px;
    border-radius: 8px;
}

.form-control,
.form-select {
    box-shadow: rgba(0, 0, 0, 0.035) 0px 2px 4px 0px;
    border-radius: 8px;
}

.btn-lg {
    padding: 10px 20px;
}

.bg-primary {
    background-color: #C53F39 !important;
    border-color: #C53F39 !important;
}

.btn-primary {
    background-color: #C53F39 !important;
    border-color: #C53F39 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #98312b !important;
    border-color: #98312b !important;
}

.td-input {
    padding: 0 !important;
}

.td-link {
    padding: 0 !important;
}

.td-link a {
    display: block;
    text-decoration: none;
    color: initial;
    padding: .5rem .5rem;
}

.td-input .form-control,
.td-input .form-select {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.table-custom {
    margin: 0 !important;
}

.table th {
    font-weight: 500 !important;
}

.table-custom td,
.table-custom th {
    border: 1px solid #E0E0E0 !important;
    vertical-align: middle !important;
}

.table-custom tr.alert td {
    border-color: inherit !important;
    background: inherit !important;
}

.table-custom thead tr:first-child th {
    border-top: 0px !important;
}

.table-custom tfoot tr:last-child th {
    border-bottom: 0px !important;
}

.table-custom tr td:first-child,
.table-custom tr th:first-child {
    border-left: 0px !important;
}

.table-custom tr td:last-child,
.table-custom tr th:last-child {
    border-right: 0px !important;
}

.card {
    border-color: #E0E0E0;
    box-shadow: rgba(0, 0, 0, 0.035) 0px 2px 4px 0px;
    border-radius: 8px;
    overflow: hidden;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #E0E0E0;
    padding: 12px 20px;
    font-weight: 500;
}


.alert {
    box-shadow: rgba(0, 0, 0, 0.035) 0px 2px 4px 0px;
    border-radius: 8px;
}

.avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    background-color: #E0E0E0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.colored-toast.swal2-icon-success {
    background-color: #a5dc86 !important;
}

.colored-toast.swal2-icon-error {
    background-color: #f27474 !important;
}

.colored-toast.swal2-icon-warning {
    background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
    background-color: #3fc3ee !important;
}

.colored-toast.swal2-icon-question {
    background-color: #87adbd !important;
}

.colored-toast .swal2-title {
    color: white;
}

.colored-toast .swal2-close {
    color: white;
}

.colored-toast .swal2-html-container {
    color: white;
}

.ts-dropdown {
  z-index: 10000000 !important;
}

.remarks-cell {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

.remarks-cell.expanded {
    white-space: normal;
    max-width: 400px;
}

.disabled-link {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}


.key {
    display: inline-block;
    vertical-align: middle;
    border: 1px solid gray;
    font-size: 12px;
    box-shadow: 1px 0 1px 0 #eee, 0 2px 0 2px #ccc, 0 2px 0 3px #444;
    border-radius: 3px;
    margin: 1px 12px 3px 0;
    padding: 1px 5px;
}


.narration-cell {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default;
  position: relative;
}

.narration-cell.overflow {
  cursor: pointer;
}

.narration-cell.expanded {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.sortable-placeholder {
    background: #e9ecef;
    border: 2px dashed #ccc;
    height: 130px;
    width: 180px;
    border-radius: 5px;
    margin-right: 10px;
}

.modal .ck-balloon-panel,
.modal .ck-tooltip,
.modal .ck-dropdown__panel {
  z-index: 1065 !important; /* > .modal (1055) and .tooltip (1080 if needed) */
}

/*
 * Configure the z-index of the editor UI, so when inside a Bootstrap
 * modal, it will be rendered over the modal.
 */

