:root {
  --primary-color: #212529;
  --hover-color: #2a2a2a;
}


button {
  margin-top: 20px;
  padding: 10px;
  width: 100%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: var(--hover-color);
}


.navbar .nav-link,
.dropdown-item {
  background-color: var(--primary-color) !important;
  color: white !important;
  transition: background-color 0.2s ease;
}

.navbar .nav-link:hover,
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--hover-color) !important;
  color: white !important;
}

.navbar .dropdown-menu {
  background-color: var(--primary-color) !important;
  border: none !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2) !important;
}

.navbar .dropdown-toggle::after {
  filter: brightness(0) invert(1);
}

.navbar .dropdown-toggle {
  white-space: nowrap;
}

.navbar .nav-link {
  white-space: nowrap;
}
.navbar .dropdown-toggle,
.navbar .nav-link {
  white-space: nowrap;
  flex-shrink: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.navbar .lang-option {
  white-space: nowrap;
}

@media (max-width: 576px) {
  .navbar .dropdown-toggle {
    font-size: 0.75rem;
  }
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

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


#main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

#loading-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.required-star {
  color: red;
  font-size: 1.2em;
  margin-left: 4px;
}
#theme.form-control-color {
  height: 3.13rem;
  padding: 0.4rem;
}

