html, body {
  min-height: 100vh; /* Ensure full height */
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  position: relative;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-wrapper {
  flex: 1;
  width: 100%;
  /*padding-top: 100px;*/
}

.App {
  text-align: center;
}

.logo-set, .orline {
  align-items: center;
  display: flex;
}

.logo-set {
  justify-content: center;
}

.signin-set {
  margin: 18% 12% 12%;
}

.signin {
  border: 2px solid #dee2e6;
  border-radius: 25px;
  padding: 25px;
}

.signin h2 {
  margin-bottom: 40px;
  text-align: center;
}

.aduser-login .signin-btn {
  border-radius: 10px;
  padding: 15px;
  width: 100%;
}

.signin-set input.form-control {
  padding: 25px 10px;
  margin: 40px 0;
  border-radius: 10px;
}

.dropdown:hover {
  width: 65%;
  border-radius: 10px;
  background-color: #e8e8e8;
}

.headerlogo-sec {
  width: 18% !important;
}

.submenus-style {
  font-size: 16px;
}

a.nav-link.px-4.py-3 {
  color: #4a545d;
  font-size: 18px;
  font-weight: 500;
}

span.menu-label {
  font-size: 20px;
}

.usrnav a {
  color: #4a545d;
  text-align: center;
}

.usrnav .dropdown-item {
  padding: 5px;
  text-align: end;
}

.dropdown .btn:focus {
  outline: none;
  box-shadow: none;
}

.navmain{
  padding: 0 2em;
}

.navmain ul {
  list-style-type: none;
  padding: 0;
}

.navmain .dropdown-toggle::after {
  display: none;
}

.navmain a {
  color: #000;
  font-size: 16px;
}

.navmain a:focus, .navmain a:hover {
  color: #c11d33;
  text-decoration: none;
}

.navitems {
  align-items: center;
  display: flex;
}

.navhead {
  height: 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.containers {
  min-height: 40rem;
}

.containers-box {
  border: 1px solid #000;
  border-radius: 10px;
  min-height: 40rem;
}

.category-tab {
  margin-top: 20px;
  width: 100%;
  border-collapse: collapse;
}

.category-tab thead {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.category-tab tbody {
  display: block;
  height: 40rem;
  overflow-y: auto;
  width: 100%;
  table-layout: fixed;
}

.category-tab th, .category-tab td {
  padding: 10px;
  text-align: left;
}

.category-tab tbody tr {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.logo-on-page {
  width: 500px;
}

.upper-sec {
  display: flex;
  justify-content: space-between;
  margin: 25px 10px;
}

/* SWITCH */
.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider:before {
  transform: translateX(14px);
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

.hidden {
  display: none;
}

.show_addtemp, .add_templates {
  display: none;
}

.show_addtemps {
  display: unset !important;
}

.left-menu-logo{
  height: 50px;
  max-width: 100%;
}

.entrybtn button{
  margin-bottom: 1em;
}

.entrybtn button:not(:first-child){
  margin-left: 0.5em;
}

.dragtitles>.dropdown:hover{
  background-color: red;
  margin: 1px;
  padding: 1px;
}

.left-menu .nav-link{
  color: inherit;
}

.shadow-border{
  box-shadow: inset 0 0 1.625rem 0 rgba(76, 78, 100, 0.22);
}

.nav-item.active .nav-link{
  color: #0260c6;
  font-weight: bold;
}

.btn-secondary{
  border-color: #ac1414;
  background-color: #991b1b;
}

.text-green{
  color: green;
}

.visualizer{
  display: block;
  width: 100%;
  height: 50px;
  background-color: black;
}

.toast-progress {
  height: 5px; /* or whatever you prefer */
  background-color: rgba(0,0,0,0.1);
  /* force a linear shrink over the timeout period */
  transition: width 2000ms linear !important;
}


.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(1px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  pointer-events: none;
}

/* Your original loader */
.loader {
  width: 50px;
  --b: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 1px;
  background: conic-gradient(#0000 10%, #f03355) content-box;
  -webkit-mask: repeating-conic-gradient(#0000 0deg, #000 1deg 20deg, #0000 21deg 36deg),
  radial-gradient(farthest-side, #0000 calc(100% - var(--b) - 1px), #000 calc(100% - var(--b)));
  -webkit-mask-composite: destination-in;
  mask-composite: intersect;
  animation: l4 1s infinite steps(10);
}

@keyframes l4 {
  to {
      transform: rotate(1turn);
  }
}

.audio-file-update .card{
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.audio-file-update .note-editable{
  background-color: white;
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
  .navmain.mt-4 {
    display: none;
  }
}

@media (max-width: 425px) {
  .lg-li {
    font-size: 12px;
  }

  .formob {
    margin: 0 !important;
  }


  .category-tab thead {
    width: 40rem !important;
  }

  .dropdown.mx-5.my-3 {
    margin: 10px !important;
  }

  .upper-sec {
    flex-direction: column;
    margin: 10px;
  }
}

/* Processing Details Page Styles */
.processing-details-page .status-badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.processing-details-page .processing-card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.2s ease-in-out;
    margin-bottom: 1.5rem;
}

.processing-details-page .processing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.processing-details-page .card-header-custom {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #495057;
}

.processing-details-page .content-section {
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

.processing-details-page .action-buttons .btn {
    margin: 0.25rem;
    min-width: 140px;
}

.processing-details-page .info-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.processing-details-page .info-item:last-child {
    border-bottom: none;
}

.processing-details-page .info-label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.9rem;
}

.processing-details-page .info-value {
    color: #495057;
    margin-top: 0.25rem;
}

.processing-details-page .regenerate-form {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.processing-details-page .processing-steps {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.processing-details-page .page-header {
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid #dee2e6;
}

@media (max-width: 768px) {
    .processing-details-page .page-header {
        padding: 1rem 0;
        margin-bottom: 1rem;
    }
    
    .processing-details-page .action-buttons .btn {
        min-width: auto;
        width: 100%;
        margin: 0.25rem 0;
    }
    
    .processing-details-page .content-section {
        max-height: 200px;
        font-size: 0.8rem;
    }
}
