﻿html {
  font-size: 14px;
}

body {
  font-family: "Roboto", sans-serif;
}

.content-footer {
  font-size: 0.8rem;
  height: 300px;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.03);
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Josefin Sans", sans-serif;
}

h1,
h2 {
  font-weight: 700;
}

label {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.8rem;
}

label {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.8rem;
}

th > label {
  margin-bottom: unset;
}

.content-aside {
  background: var(--gray-dark);
  width: 250px;
  min-height: 100vh;
  position: fixed;
  left: 0;
  z-index: 2;
}

.input-group-append .btn {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.content-main {
  width: 100%;
  -webkit-transition: 0.01s ease-in-out;
  -moz-transition: 0.01s ease-in-out;
  -o-transition: 0.01s ease-in-out;
  transition: 0.01s ease-in-out;
}

.content-main-padded {
  padding-left: 250px;
}

.content-footer-padded {
  margin-right: -250px;
}

.disabled {
  pointer-events: none;
}
.dropdown-item.active,
.dropdown-item:active {
  color: var(--danger);
  text-decoration: none;
  background-color: transparent !important;
}

/* Custom Switch Styles */
.custom-switch .custom-control-label::before {
  background-color: #e9ecef;
  border-color: #adb5bd;
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #007bff;
  border-color: #007bff;
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
  background-color: #fff;
}

/* Loading Overlay Styles */
.loading-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: calc(100vh);
  background: #ffffff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-out;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #ffc107;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin-bottom: 10px;
}

.loading-text {
  color: #6c757d;
  font-size: 14px;
  font-weight: 500;
  margin-top: 5px;
}

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

/* Content Wrapper Styles */
.content-wrapper {
  opacity: 0;
  transition: opacity 0.5s ease-in;
  display: flex;
  min-height: 100vh;
}

.content-wrapper.loaded {
  opacity: 1;
}

.content-aside {
  width: 250px;
  background: #343a40;
  color: #fff;
  flex-shrink: 0;
}

.content-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.content-main-padded {
  padding-left: 250;
}

.navbar-main {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
