* {
    box-sizing: border-box!important;
}

.footer-gap {
    padding-bottom: 90px;
}

.container {
    width: 95%;
    max-width: 900px;
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box;
}

/* header {
    background-color: #9165f0;
} */

nav {
    padding: 1em;
    margin-bottom: 1em;
}

.sec {
    padding: .5em 0!important;
}

.card.custom-card {
    margin-block-end: 0.5rem;
}

.navbar>.container-fluid {
    padding:0;
}

.badge.right {
    float: right;
}

.authentication .desktop-dark {
    height: 3.75rem;
    line-height: 1.75rem;
}

.icons-list {
    list-style: none;
    margin: 0 -1px -1px 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.qr-view img {
    width: 100%;
}

.profile-header p.op-7{
    opacity: 1;
}

.profile-header .avatar {
    height: 5rem;
    width: 5rem;
}

.profile-photo-edit {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.profile-header .avatar img{
    object-fit: cover;
    object-position: top;
}

.qr-modal {
    /* height: 88vh; */
    margin-top: 7em;
}

.qr-body {
    display: flex;
    align-items: center;
    padding-top: 0;
}

.captcha-input {
    padding-inline-end: 1em!important;
}

.otp-input {
    border-color: #8d9eb58c;
}

.captcha-block {
    margin-top: 1.5em;
}

.edit-profile-image {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.profile-edit-btn {
    background: #fff;
    font-size: .65rem;
    padding: .15em 1em;
    margin-top: .5em;
    border: 0;
    border-radius: 4px;
    color: #478bf3;
}

.avatar .custom-badge {
    width: 3em;
    height: 3em;
    inset-block-start: 67%;
    inset-inline-end: -0.25%;
    /* font-size: 0.625rem; */
}

.custom-check-input {
    border: 1px solid #41444d;
}

.mandatory-red {
    color: red;
}

.head-strip {
    width: 100%;
    padding: 1em 1em;
    font-weight: 500;
    font-size: 1rem;
    background: #8a45ca;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

.bg-theme {
    background-color: #9e5add!important;
}

.head-strip span {
    font-size: .8rem;
}

.head-strip button {
    color: #fff;
}


.mt-half {
    margin-top: .5em;
}

.mtb-half {
    margin-top: .5em;
    margin-bottom: .5em;
}

.mtb1 {
    margin-top: 1em;
    margin-bottom: 1em;
}

.mtb1 {
    margin-top: 1em;
    margin-bottom: 1em;
}

.mt1 {
    margin-top: 1em;
}

.mb1 {
    margin-bottom: 1em;
}

.mt2 {
    margin-top: 2em;
}

.mlr1 {
    margin-right: 1em;
    margin-left: 1em;
}

.ml25 {
    margin-left: .25em;
}

.mr1 {
    margin-right: 1em;
}
.ptb1 {
    padding-top: 1em;
    padding-bottom: 1em;
}

.plr1 {
    padding-left: 1em;
    padding-right: 1em;
}

.plr2 {
    padding-left: 2em;
    padding-right: 2em;
}

.plr-half {
    padding-left: .5em;
    padding-right: .5em;
}

.pl1 {
    padding-left: 1em;
}

w100 {
    width: 100%;
}

.float-right {
    float: right;
}

/* Footer Styles */
.app-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #8a45ca;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0;
  box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.footer-item {
  text-align: center;
  /* flex:1; */
  flex-basis: 20%;
  color: #333;
  font-size: 1.25rem;
}

/* Highlight Home */
.footer-item.home {
    position: relative;
    top: -30px;
    background-color: #a063d9;
    color: white;
    padding: .8em;
    border-radius: 50%;
    font-size: 22px;
    z-index: 1001;
    flex: unset;
    display: flex;
}

.footer-item img {
    height: 1.3em;
}

/* Reminder Button */
.reminder-btn {
  position: fixed;
  bottom: 90px; /* above the footer */
  right: 20px;
  background-color: #ed252e;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1002;
  font-size: 1.5em;
}

/* Reminder Button */
.admin-btn {
  position: fixed;
  bottom: 160px; /* above the footer */
  right: 20px;
  background-color: #a063d9;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1002;
  font-size: 1.5em;
}

.footer-item i{
  color: #fff;
}

.footer-item p {
  color: #fff;
  margin: 0;
  padding: 0;
  font-size: 10px;
}


.mb90 {
    margin-bottom: 90px;
}

.input-styled {
  width: 100%;
  padding: 7px 14px;
  border: none;
  border-bottom: 3px solid #8a45caa3; /* thicker bottom border */
  outline: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* soft overall shadow */
  transition: border-color 0.3s, box-shadow 0.3s;
  border-radius: 4px; /* optional: slight rounding */
  background-color: #fff;
  font-size: 14px;
}

.input-styled:focus {
  border-bottom-color: #8a45cac7; /* darken on focus */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.fw700 {
    font-weight: 700;
}

.fs1 {
    font-size: 1rem;
}

.w100 {
    width: 100%;
}

.icon-cntr {
    text-align: center;
    height: 3.5rem;
    width: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eeeeee;
    margin: 0.25rem;
    box-shadow: 0px 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
    border-radius: 50%;
}

.icon-cntr-2 {
    text-align: center;
    height: 3.5rem;
    width: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eeeeee;
    margin: 0.25rem;
    box-shadow: 0px 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
    border-radius: 50%;
}

.icon-size {
    font-size: 1.25rem;
    color: #8a45ca;
}

.text-align-center {
    text-align: center;
}

.grid-icons {
    list-style: none;
    margin: 0 -1px -1px 0;
    padding: 0;
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: space-around;
    align-items: center;
}

.theme-border {
    border: 1px solid #af6ded!important;
}

.authentication-background-custom {
    position: relative;
    background-image: url("/static/images/bg-image2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.theme-border {
    border: 1px solid #8a45cac7!important;
}

.theme-border2 {
    border: 1px solid #8a45ca59!important;
}

.theme-background {
    background-color: #8a45cac7!important;
}

.theme-background-2 {
    background-color: #8a45ca24!important;
}

.theme-text-color {
    color: #8a45cac7!important;
}

.theme-text-color2 {
    color: #8a45ca!important;
}

.no-border {
    border: 0;
}

.auth-circle::before {
    border: 20px solid #8a45ca59;
}

.header-image {
    height: 2.3em!important;
}

.p1 {
    width: 100%;
    text-align: center;
    padding-top: 1em;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.fullcalendar-events-activity li::before {
    border: 0.125rem solid #8a45ca59;
    background-color: #8a45ca24;
}

#calendar2 .fc-button-primary {
    background-color: #8a45cac7!important;
    border: 1px solid #8a45cac7!important;
}

/* Fullscreen modal */
#splashModal {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; 
    height: 100vh;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#splashModal img {
    max-width: 200px;
    height: auto;
}

/* Hide splash */
#splashModal.hide {
    opacity: 0;
    pointer-events: none;
}

.flex-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 0;
}

.custom-btn {
    padding: .2em 1em;
    font-size: .8rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color:#0000005d;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.custom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.custom-grid div:nth-child(2) {
    text-align: center;
}

.custom-grid div:last-child {
    text-align: right;
}

.rem-content {
  display: none;
}

.rem-head span {
  transition: transform 0.3s ease;
}

.rem-head.active span {
  transform: rotate(180deg);
}

.rem-content.active {
  display: block;
}

.border-radius {
    border-radius: 4px;
}


/* Modal overlay */
.my-modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  display: flex;
  justify-content: center;
  align-items: center;
  padding:1em;
}

/* Modal content box */
.my-modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Close (×) button */
.my-modal .close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #aaa;
  font-size: 24px;
  cursor: pointer;
}

.close-btn:hover {
  color: #000;
}


input.error-red, select.error-red, textarea.error-red, .error-red:focus {
  border-color:#ff000070;
}

.error-message {
  color: #ff0000;
  font-size: 0.75rem;
  margin-top: 2px;
  margin-left: 4px;
}

.filter-box {
    padding: 1em;
}

.filter-btn-cntr {
    align-self: flex-end;
}

.contact-cntr {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    height: 90vh;
    background-color: #ffffff8a;
}

.contact-cntr img {
    width: 70%;
}

.company-datails {
    width: 100%;
    padding: 0 2em;
    margin-top: 2em;
}

.company-datails .head {
    padding: 1em;
    border-radius: 18px;
}

.company-datails p {
    margin: 0;
    padding: 0;
}

.company-datails .bold {
    padding: 0;
    font-weight: 700;
    margin: 0;
    margin-bottom: 1em;
}

.company-datails i {
    margin-right: .25em;
}

.company-datails .label {
    margin-left: 1em;
    margin-bottom: .5em;
}

.company-datails .logout {
    font-size: 1.5rem;
    float: right;
    margin-right: .4em;
    margin-top: -.5em;
}

.live-time {
    text-align: center;
    padding: 0 1em;
    font-weight: 700;
}

.live-time p {
    padding: 0;
    margin: 0;
}

.my-alert {
    padding: .25em;
    border-radius: 4px;
    margin: .75em .15em;
    font-weight: 500;
    text-align: center;
}

.my-alert-success {
    background-color: #18ce432b;
    color: #1a8933;
    border: 1px solid #40cf61;
}

.my-alert-error {
    background-color: #ce18182b;
    color: #b60303;
    border: 1px solid #cf4040;
}

.report-head {
    display: flex;
    justify-content: space-between;
    padding: 1em 1.5em;
    border-radius: 4px 4px 0 0;
    text-align: center;
    background-color: #8a45ca14;
    border-bottom: 1px solid #8a45ca18;
    width: 100%;
}

.report-cntr p {
    margin: 0;
}

.my-bold {
    font-weight: 700;
}

.fw700 {
    font-weight: 700;
}

.fw300 {
    font-weight: 300;
}

.fw500 {
    font-weight: 500;
}

.trans-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trans-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 1.5em;
    border-bottom: 1px solid #8a45ca18;
}

.trans-list li span {
    margin-left: 1em;
}

.small-text {
    font-size: 0.7rem;
}

.filter-panel {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  transition: right 0.3s ease-in-out;
  z-index: 1001;
  padding: 20px;
}

.filter-panel.open {
  right: 0;
}

.filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  display: none;
  z-index: 1000;
}

.filter-overlay.active {
  display: block;
}

.filter-btn {
  margin: 10px;
  padding: .5em 1em;
  background-color: #673ab7; /* purple shade */
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  float: right;
}


.my-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.my-modal-content {
  background-color: white;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  min-width: 250px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.my-modal-content.success {
  border: 1px solid #28a745; /* green */
  color: #28a745; /* green */
}

.my-modal-content.danger {
  border: 1px solid #ff0000; /* yellow */
  color: #ff0000; /* yellow */
}

#alert-ok-btn {
  margin-top: 15px;
  padding: 8px 20px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.my-modal-content.success #alert-ok-btn {
    background-color: #28a745 !important;
}

.my-modal-content.danger #alert-ok-btn {
    background-color: #ff0000 !important;
}


/* Super User section */

.admin-head {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    border: 1px solid #8a45caa3;
    padding: 1em .75em;
    margin-bottom: 1em;
    border-radius: 11px;
}

.admin-head p {
    padding: 0;
    margin: 0;
    color: #5d455c;
    padding-right: 1em;
}

.admin-head p i {
    margin-right: .25em;
    color: #5d455c;
}

.admin-head div {
    /* padding: 0 2em ; */
    width: 100%;
    margin: 0;
    margin-top: 1em;
}

.admin-head div button{
    margin-right: 1em;
    padding: .25em 1em;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1em;
    align-items: center;
    padding: .5em 1em;
    border-radius: 11px;
}

.admin-header p {
    margin: 0;
}
