/*!
* VLC Dashboard
*/

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  margin: 0;
}
.main-content {
  display: flex;
  flex: 1 0 auto;
  overflow: hidden;
}
.sidebar {
  width: 280px;
  flex-shrink: 0;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #343a40;
  z-index: 1000;
  overflow-y: auto;
  padding-top: 56px; /* Height of navbar */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distributes space evenly between items */
}
.content {
  flex-grow: 1;
  margin-left: 280px;
  overflow-y: auto;
  padding: 20px;
  height: 100vh; /* Full viewport height */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distributes space evenly between items */
}
.navbar {
  display: none;
}
.resetpw {
  width: 100%;
  max-width: 500px;
  padding: 15px;
  margin: auto;
}
@media (max-width: 767.98px) {
  .sidebar {
    display: none;
    width: 100%;
    height: 100%;
  }
  .content {
    margin-left: 0;
    padding-top: 56px; /* Height of navbar */
  }
  .navbar {
    display: block;
  }
}

.bi {
  vertical-align: -.125em;
  pointer-events: none;
  fill: currentColor;
}

.dropdown-toggle { outline: 0; }

.nav-flush .nav-link {
  border-radius: 0;
}

.btn-toggle {
  display: inline-flex;
  align-items: center;
  padding: .25rem .5rem;
  font-weight: 600;
  color: rgba(0, 0, 0, .65);
  background-color: transparent;
  border: 0;
}
.btn-toggle:hover,
.btn-toggle:focus {
  color: rgba(0, 0, 0, .85);
  background-color: #d2f4ea;
}

.btn-toggle::before {
  width: 1.25em;
  line-height: 0;
  content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
  transition: transform .35s ease;
  transform-origin: .5em 50%;
}

.btn-toggle[aria-expanded="true"] {
  color: rgba(0, 0, 0, .85);
}
.btn-toggle[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.btn-toggle-nav a {
  display: inline-flex;
  padding: .1875rem .5rem;
  margin-top: .125rem;
  margin-left: 1.25rem;
  text-decoration: none;
}
.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  background-color: #d2f4ea;
}

.scrollarea {
  overflow-y: auto;
}

.fw-semibold { font-weight: 600; }
.lh-tight { line-height: 1.25; }


.topcontent {
  /*min-height: 90%;*/
}

.bottomcontent {
  margin-top: 40px;
}

.main-content {
  overflow-y: auto; /* Ensure the main content area allows scrolling */
}

.select2-container--open .select2-dropdown {
  max-height: 200px; /* Limit dropdown height */
  overflow-y: auto; /* Allow dropdown scrolling */
}

html, body {
  overflow-y: scroll !important;
}


.card {
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-header {
  font-size: 1.25rem;
  font-weight: bold;
}

.warning-message {
  background-color: #ffebcc;
  color: #c47f00;
  padding: 10px;
  border: 1px solid #c47f00;
  margin-bottom: 20px;
  border-radius: 4px;
  font-size: 14px;
}

.accordion .btn-link {
  text-align: left !important;
  display: block;
  width: 100%;
}

/* Style the dropdowns */
.select2-container .select2-selection--single {
  height: 40px !important; /* Set the height */
  border: 1px solid #ccc; /* Border color */
  border-radius: 5px; /* Rounded corners */
  padding: 5px; /* Inner spacing */
  font-size: 16px; /* Text size */
  background-color: #f9f9f9; /* Light background */
  transition: all 0.3s ease; /* Smooth hover effect */
}

.select2-container .select2-selection--single:hover {
  border-color: #007bff; /* Blue border on hover */
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #333; /* Text color */
  line-height: 30px !important; /* Align text vertically */
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #aaa; /* Placeholder text color */
}

/* Style the dropdown arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px !important; /* Match the height */
  right: 10px !important; /* Positioning */
}

/* Style the dropdown menu */
.select2-container .select2-dropdown {
  border: 1px solid #ccc; /* Dropdown border */
  border-radius: 5px; /* Rounded corners */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  background-color: #fff; /* White background */
  z-index: 9999; /* Ensure it's on top */
}

/* Style individual items in the dropdown */
.select2-container .select2-results__option {
  padding: 10px; /* Spacing for items */
  font-size: 14px; /* Font size for items */
  color: #333; /* Text color */
  transition: background-color 0.2s ease; /* Smooth hover effect */
}

.select2-container .select2-results__option--highlighted {
  background-color: #007bff; /* Highlighted background */
  color: #fff; /* Highlighted text */
}

/* Prevent autofill styling on Select2 fields */
input.select2-search__field {
  autocomplete: new-field !important;
  -webkit-autofill: off !important;
  box-shadow: none !important;
}

.select2-search__field {
  -webkit-autofill: off !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

input.select2-search__field {
  background-color: transparent !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  color: inherit !important;
}

.select2-container.bg-primary {
  background-color: var(--bs-primary) !important; /* Primary background color */
  color: white !important; /* White text */
  border: 1px solid var(--bs-primary) !important;
  border-radius: 0.375rem; /* Match Bootstrap rounded corners */
}

.select2-container.bg-primary .select2-selection__rendered {
  color: white !important; /* Ensure selected text is white */
}

.select2-container.bg-primary .select2-selection {
  background-color: var(--bs-primary) !important; /* Primary background for dropdown */
  border: none !important; /* Remove border */
  color: white !important; /* Text color */
}


/* Style the Icons */

.step {
  text-align: center;
  margin-bottom: 30px;
}
.step .icon {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 10px;
}

.icon-container {
  width: 60px; /* Ensures all icons are the same width */
  text-align: center;
}