.btn.btn-primary {
  background: rgb(146, 56, 81);
  border-color: rgb(146, 56, 81);
}

.btn.btn-primary:active:not(.btn-active),
.btn.btn-primary:focus:not(.btn-active),
.btn.btn-primary:hover:not(.btn-active) {
  background-color: rgb(146, 56, 81) !important; 
  border-color: rgb(146, 56, 81) !important;
  color: #fff !important;
}

.btn.btn-success:active:not(.btn-active),
.btn.btn-success:focus:not(.btn-active),
.btn.btn-success:hover:not(.btn-active) {
  background-color: rgb(146, 56, 81) !important; 
  border-color: rgb(146, 56, 81) !important; 
  color: #fff !important;
}



.btn.btn-success {
  background: rgb(146, 56, 81);
  border-color: rgb(146, 56, 81);
  --bs-btn-hover-bg: rgb(146, 56, 81)  !important; 
}

.form-check-input:checked {
  background-color: rgb(146, 56, 81);
  border-color: rgb(146, 56, 81);
}

.text-hover-primary {
  transition: color .2s ease !important;
}

.text-hover-primary:hover {
  color: rgb(146, 56, 81) !important;
}

.text-hover-primary:hover i  {
  color: rgb(146, 56, 81) !important;
}




/* Sidebar Styles */
.app-sidebar-menu {
   background: rgb(146, 56, 81);
}
.app-sidebar .app-sidebar-logo {
  background: rgb(146, 56, 81);
}

.app-sidebar .menu .menu-item .menu-link.active .menu-arrow:after {
  background: rgb(146, 56, 81) !important;
}

.select2-container--bootstrap5 .select2-dropdown .select2-results__option.select2-results__option--highlighted {
  background-color: rgb(238, 224, 228);
  color: rgb(146, 56, 81);
  transition: color .2s ease;
}

.select2-container--bootstrap5 .select2-dropdown .select2-results__option.select2-results__option--selected {
  background-color: rgb(238, 224, 228);
  color: rgb(146, 56, 81);
  transition: color .2s ease;
}

.select2-container--bootstrap5 .select2-dropdown .select2-results__option.select2-results__option--selected:after {
  background-color:rgb(146, 56, 81);
}

.btn.btn-active-color-primary:hover:not(.btn-active) .svg-icon {
  color: rgb(146, 56, 81);
}

.btn.btn-active-color-primary.active .svg-icon {
  color: rgb(146, 56, 81);
}

.btn.btn-light-primary i {
  color: rgb(146, 56, 81);
}

.btn.btn-light-primary {
  color: rgb(146, 56, 81);
  background-color: rgb(238, 224, 228);
}

.btn.btn-active-primary:hover:not(.btn-active) {
  background-color: rgb(146, 56, 81) !important
}


/* Default state for menu title */
.menu-title {
  color: white !important;
}

.btn.btn-active-color-primary:hover:not(.btn-active) i {
  color:rgb(146, 56, 81) !important
}

.app-sidebar .menu .menu-item .menu-link.active {
  transition: color .2s ease !important;
  background-color: white !important;
  color: var(--kt-primary) ;
}

/* Active state for menu link and title */
.menu-link.active .menu-title {
  transition: color .2s ease, background-color .2s ease !important;
  background-color: white !important;
  color: var(--kt-primary) !important;
}

/* Additional styling for demonstration */
.menu-link {
  display: inline-block;
  padding: 10px;
  margin: 5px;
}

.active>.page-link {
  color: #fff;
  background-color: rgb(146, 56, 81) !important;
}

.page-link:hover {
  z-index: 2;
  color: rgb(146, 56, 81) !important;
  background-color: rgb(238, 224, 228) !important;
  border-color: var(--bs-pagination-hover-border-color);
}

.page-item.active .page-link:hover {
  color: white !important; 
  background-color: rgb(146, 56, 81) !important; 
  border-color: var(--bs-pagination-active-border-color) !important;
}

.menu-state-color .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) {
 color: rgb(146, 56, 81) !important;
}

.menu-state-bg .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) {
  background-color: rgb(238, 224, 228) !important;
  color: rgb(146, 56, 81) !important; 
}

.menu-state-bg .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) {
  background-color: var(--kt-menu-link-bg-color-hover);
  color: var(--kt-menu-link-color-hover);
}

.custom_icon {
  font-size: 20px !important;
  padding: 1px !important;
  margin-right: 5px !important;
}

.card_arrow {
  justify-content: flex-start !important;
  align-items: baseline !important;
  gap: 10px !important;
}




body{
    background-color: rgb(230, 226, 226) !important;
}

.top{
    align-items: center;
}

.log{
    background-color:whitesmoke !important;
    height: 80%;
    margin-top: 8%;
}

.forget{
    background-color:whitesmoke !important;
    height: 60%;
    margin-top: 8%; 
}

.logo{
    margin-bottom: 10%;
    width: 80px;
    max-height: 50px;
    margin-left: -20%;
}

/* Container for the progress bar */
.indeterminate-progress-bar {
  width: 100%;
  height: 4px;
  background-color: #e0e0e0; /* Background color of the bar */
  position: relative;
  overflow: hidden;
}

   /* Add this to your CSS stylesheet */
   .page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent black background */
    display: none;
    z-index: 9999;
    /* Make sure it's above other elements */
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid #f3f3f3;
    border-top: 4px solid rgb(146, 56, 81);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

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

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



/* The animated progress bar */
.progress {
  width: 100%;
  height: 100%;
  background-color: rgb(146, 56, 81) !important; /* Progress bar color */
  position: absolute;
  left: -100%; /* Start position outside of the container */
  animation: indeterminateAnimation 1s infinite ease-in-out;
}

/* Animation keyframes */
@keyframes indeterminateAnimation {
  0% {
    left: -100%;
    width: 100%;
  }
  50% {
    left: 0;
    width: 100%;
  }
  100% {
    left: 100%;
    width: 10%;
  }
}


@media screen and (max-width: 320px) {
    .logo {
        margin-left: -5%;
        width: 60px;
    }
  }

  @media screen and (max-width: 320px) {
    .forget {
       height:50% !important ;
    }
  }
.common-header{
    padding-left: 0px !important;
  }
  .justify-content-center
  {
    margin-top: 20px;
  }
.app-header {
    z-index:100;
    position:fixed;
    left:0;
    right:0;
    top:0
  }
  #kt_app_toolbar_container{
    margin-top: 50px;
  }
  .field-icon {
  float: right;
  margin-right: 15px;
  margin-top: -25px;
  position: relative;
  z-index: 2;
}
 .ql-container{
    height: 4% !important;
  }
  .draft{
    background-color: orange !important;
    color: white;
  }
  .close{
    background-color: green !important;
    color: white;
  }
  .next,.preview{
    background-color: blue !important;
    color: white;
  }
  .timeline-label .timeline-item{
    margin-bottom: 4rem !important;
  }
.truncate {
  width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.description{
  height: 100% !important;
  max-height: 200px !important;
}
