
/* Grundlayout */
* {
  box-sizing: border-box;
  font-family: "Inter", sans-serif !important;
}

html, body {
  background-color: #f5f7fa;
  color: #333;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/*------------------------------------------------------------------------*/
/* Sidebar */

 .sidebar-neu {
  position: fixed !important;
  height: calc(100vh - 120px);
  margin-top: 120px;
  width: 200px;
  border-right: 1px solid #98b7d5;
  background: #fff;
  z-index: 999;
}

.voll-height {
  height: 100vh;
}


 .sidebar-profil {
  position: fixed !important;
  height: calc(100dvh - 120px);
  width: 200px;
  border-right: 1px solid #98b7d5;
  padding: 0rem;
  background: #fff;
  z-index: 999;
}

/*------------------------------------------------------------------------*/
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  z-index: 999;
  display: flex;
  align-items: center;
  padding: 0 20px;
  background-color: #ffffff;

}

/*------------------------------------------------------------------------*/
/* Navigation Links */
.nav-item {
  align-items: center;
  color: #000000;
  background-color: #fff;
  font-size: 15px;
  padding: 0.5rem !important;
  margin-right: 8px !important;
  border-radius: 8px;
}

.nav-item-oben {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #3b3b3b;
  background: #eeeff0;
  border-color: #eeeff0;
  border-radius: 4px;
  margin-right: 16px;
}

.nav-item-oben:hover {
  background-color: #292929;
  border-color: #292929;
  color: #ffffff;
}

/* Aktiver Link */
.nav-item.active {
  background-color: #fee2cb; 
  color: #d35400;
}

.nav-link {
  color: #000000;
  padding: 0.5rem !important;
  text-transform: none;
  border-radius: 4px; 
}

.nav-link:hover {
  color: #ffffff;
  background-color: #fa7209;
}
.nav-link.bi:hover {
  color:#ffffff;
}

.nav-link.active {
  background-color: #fee2cb;
  color: #000000; 
}

.nav-link.active:hover {
  color: #000000; 
  background-color: #fb8e38; 
}

.nav-link-main-menue {
    color:   #3b3b3b;
    background-color: #efeef0;
    border: 1px solid #efeef0;
    border-radius: 8px;
    padding: 3px 3px;
} 
.nav-link-main-menue:hover {
  color: #ffffff;
  background-color: #fb8e38;
  border-color: #fb8e38;
  border-radius: 4px;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #000000;
    background-color: #fee2cb; 
    border: 1px solid #fee2cb;
}
.nav-pills:hover {
  color: #ffffff;
}

.nav-pills.active:hover {
  color: #ffffff;
  background-color: #fb8e38;
}

/*------------------------------------------------------------------------*/
/* Icons */
.bi { 
  font-size: 20px; 
  vertical-align: middle; 
  transition: color 0.2s ease-in-out;
} 
/* Hover-Effekt für Icons (konsolidiert) */ 

.nav-item:hover .bi, .nav-link.bi:hover, .btn:hover .bi,
{
  color: #ffffff !important;
}

.bi-send {
  color: #000000;
}

/* Spezielle Icons, die in weißen Farben bleiben */ 
.bi-plus-square, .bi-x, .bi-floppy{
  font-size: 20px; 
  color: #ffffff; 
  vertical-align: middle; 

} 
.floating-button { 
  position: fixed; 
  bottom: 20px; 
  right: 20px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  cursor: pointer; 
}
a {
    color: rgb(0 3 6);
    text-decoration: underline;
}

/*------------------------------------------------------------------------*/
/*Logo*/
.logo { 
  top: 20px;         
  left: 50px;       
  width: 200px;   
  height: 100px;
}

/*------------------------------------------------------------------------*/
/*Schrift*/
strong {
  color: #000000;
}

/*------------------------------------------------------------------------*/
/* Hauptbereich */

.main-content {
  margin-top: 120px;
  margin-left: 200px;
  width: 100%;
}

.welcome {
  font-size: 22px;
  font-weight: bold;
}

/*------------------------------------------------------------------------*/
/* Karten */
.card {
  background: #FFFFFF;
  padding: 20px;
  border-color: #004D9966;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  margin: 0;
  border-radius: 8px;
  background-attachment: fixed;
}
.card-header{
  background: #FFFFFF;
  border-bottom: 1px solid #FFFFFF;
}

.overflow-auto {
  padding: rem !important;
}

/*------------------------------------------------------------------------*/
/* Tabelle */

table {
  border-collapse: separate;
  width: 100%;
  font-size: 14px;
  border-spacing: 0;
  border: 1px solid #a8c2db !important;
  border-radius: 8px !important;
  overflow: hidden;
}

table th {
  background-color: #f2f6fa !important;
  border-right: 1px solid #a8c2db;
  text-align: left;
  padding: 2px;
}

table td {
  border-bottom: 1px solid #a8c2db;
  border-style: solid !important;
}


/*------------------------------------------------------------------------*/

.radio {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  cursor: pointer;
}

.radio input {
  margin-right: 10px;
  margin-top: 3px; 
}

.option .title {
  font-weight: bold;
}

.option .info {
  margin-top: 2px;
  font-size: 1rem;
  color: #555;
}

.rounded-pill {
  opacity: 1;
  border-radius: var(--bs-border-radius-pill) !important;
  background-color: #fa6d00;
}

.btn.show {
  border-color: inherit;
  background-color: inherit;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.tab-content {
  margin-left: 200px;
}
/*------------------------------------------------------------------------*/
/*Status*/

.status1 { /*offen*/
  background: #00000020;
  text-align: center;
  color: #00000080;
  border: 1px solid #00000080;
  border-radius: 4px;
}

.status2 { /*bearbeitet*/
  background: #D8970020;
  text-align: center;
  color: #D8970080;
  border: 1px solid #D8970080;
  border-radius: 4px;
}

.statusAnfrage { /*Anfrage*/
  background: #1A71C620;
  text-align: center;
  color: #1A71C680;
  border: 1px solid #1A71C680;
  border-radius: 4px;
}

.status3 {  /*angenommen*/
  background: #1A71C620;
  text-align: center;
  color: #1A71C680;
  border: 1px solid #1A71C680;
  border-radius: 4px;
}

.status4 { /*reklamiert*/
  background: #C73A3A20;
  text-align: center;
  color: #C73A3A80;
  border: 1px solid #C73A3A80;
  border-radius: 4px;
}

.status0 { /*fertig*/
  background: #067A5820;
  text-align: center;
  color: #067A5880;
  border: 1px solid #067A5880;
  border-radius: 4px;
}
/*------------------------------------------------------------------------*/
/*Stepper*/

.stepper-wrapper {
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin-bottom: 20px;
}

.stepper-item {
  position: sticky;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.stepper-item:hover {
  transform: scale(1.05);
}

.stepper-item::before {
  position: absolute;
  content: "";
  //border-bottom: 3px solid #ccc;
  width: 100%;
  top: 20px;
  left: -50%;
  z-index: 2;
}
.stepper-item::after {
  position: absolute;
  content: "";
  border-bottom: 3px solid #292b33;
  width: 100%;
  top: 20px;
  left: 50%;
  z-index: 2;
}

.stepper-item .step-counter {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #ffffff;
  background: #292b33;
  margin-bottom: 6px;
}

.step-name {
  color:#000000;
  text-align: center;
  align-items: center;
}

.stepper-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.stepper-item.active .step-counter {
  background: #fa6d00;
  color: white;
  align-items: center;
}

.stepper-item.completed .step-counter {
  background: #fa6d00;
  color: white;
  align-items: center;
}

.stepper-item.completed::after {
  border-bottom: 5px solid #fa6d00;
}
.stepper-item.active::after {
  border-bottom: 3px solid #fa6d00;
}

.stepper-item:first-child::before {
  content: none;
}

.stepper-item:last-child::after {
  content: none;
}


@media (max-width: 768px) {
  .stepper-wrapper {
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 1rem;
    padding-bottom: 0.5rem;
  }

  .stepper-item {
    flex: 0 0 auto; /* verhindert Zusammenquetschen */
  }

  .step-name {
    font-size: 0.8rem;
  }

/*------------------------------------------------------------------------*/
/*Push up nachricht*/

.bg-warning {
  opacity: 1;
  background-color: #fa6d00 !important;
}

.bg-anmeldung {
  opacity: 1;
  background-color: #ff7f1c !important;
  padding: 20px;
  border-radius: 12px;
  color: #fff;
  margin-top: 40px;
  font-size: 1.2rem;
  text-align: center;
  max-width: 600px;
}

/*------------------------------------------------------------------------*/
/*Drop-Down*/

.dropdown-item {
  padding: 0.25rem 1rem !important;
  color: #000000;
  transition: background-color 0.2s ease, color 0.2s ease;
}
} 
.dropdown-link {
  color:#000000;
}

/* Hover-Effekt */
.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #fa6d00; /* hellgrauer Hintergrund */
  color: #ffffff;            /* Textfarbe beim Hover */
}

/* Optional: aktives Element (z. B. gewählte Sprache) */
.dropdown-item.active,
.dropdown-item.active:hover {
  background-color: #ff6600; /* Orange Hintergrund */
  color: #ffffff;            /* Weißer Text */
}

/*------------------------------------------------------------------------*/
/*BUTTONS*/

button,
.btn {
    font-family: "Inter", sans-serif !important;
    font-size: 1rem !important;
    border: 1px solid;
    border-radius: 4px;
    border-color: inherit !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background-color: #004d99;
  border-color: #004d99;
  color: #ffffff;
}


.button:hover {
  background-color: #292929;
}

.btn-primary {
  color: #ececec;
  background-color: #004d99;
  border-radius: 6px;
  border-color: #004d99;
}

.btn-navi {
  width: 100%;
  height: 100%;
  font-family: "Inter", sans-serif;
}

.btn-primary-regi {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #004d99;
  background-color: #ffffff;
  border-color: #004d99;
}

/*------------------------------------------------------------------------*/
.alert-container {
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;               
    transform: translateX(-50%, 50%);
    z-index: 999;
    color: #000000;
    background-color: #ffffff;
    border: 1px solid #004d99;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15),
                0 4px 8px rgba(0, 0, 0, 0.10);
    width: 400px;  
    height: auto;  
    padding: 24px;  
}

.popup-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* perfekt zentriert */
    z-index: 999;
    text-align: center;
    color: #000000;
    background-color: #ffffff;
    border: 1px solid #004d99;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15),
                0 4px 8px rgba(0, 0, 0, 0.10);
    width: 400px;
    padding: 24px;
}


/* ---------- Große Bildschirme (Desktop) ---------- */
/*@media (max-width: 1200px) {
  .sidebar-neu {
    width: 240px;
  }

  .navbar {
    height: 110px;
  }

  .main {
    margin-left: 240px;
    margin-top: 110px;
  }
}

/* ---------- Tablets (sichtbare Navbar & Sidebar) ---------- *
@media (max-width: 992px) {
  .sidebar-neu {
    width: 200px;
    position: sticky !important;
    top: 110px;
    height: calc(100dvh - 110px);
  }

  .navbar {
    height: 110px;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .main {
    margin-left: 200px;
    margin-top: 110px;
    padding: 15px;
  }
}

/* ---------- Kleine Bildschirme (Smartphones) ---------- *
@media (max-width: 768px) {
  .sidebar-neu {
    display: none; /* Sidebar hier erst ausblenden *
  }

  .navbar {
    height: auto;
    flex-direction: column;
    position: sticky;
    top: 0;
  }

  .main {
    margin-left: 0;
    margin-top: 100px;
    padding: 15px;
  }

  body {
    font-size: 14px;
  }

  .card {
    padding: 10px;
  }

  .welcome {
    font-size: 18px;
  }
}

/* ---------- Sehr kleine Bildschirme ---------- */
@media (max-width: 480px) {
  .navbar {
    padding: 10px;
  }

  .logo {
    width: 120px;
    height: auto;
  }

  .btn {
    font-size: 0.9rem !important;
  }

  .main {
    padding: 10px;
  }

  .main-content {
    margin: 0;
  }
}

/*--------------------------------------------------------------*/

/*Autovervollständigung E-Mail


ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #ccc;
  background: white;
  max-width: 250px;
  position: absolute;
  z-index: 1000;
}

ul li {
  padding: 8px;
  cursor: pointer;
}

ul li:hover {
  background: #eee;
}*/
