@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    display: flex;
    align-items: center;
    z-index: 99;
    background: #e20074; 
    backdrop-filter: blur(20px);
}

/*-----------------------------------------------Grauer Kasten------------------------------*/

.grauer-kasten {
    background-color: #fff; /* grau */
    width: 400px;
    height: 250px;
    border-radius: 8px; /* abgerundete Ecken */
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    padding: 20px;
    display: flex;
  }

  .grauer-kasten .ueberschrift {
    font-size: 12px;
    color: #666;
    font-size: 16px;
    font-weight: 400;
    display: flex;
    border-left: 25px;
    border-top: 25px;
    
  }
  /*----------------------------------------------------------------------------------------*/
  
.logo {
    font-size: 30px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    align-items: center;
    margin-right: auto;
    margin-top: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 40px;
}

.highlight {
    font-weight: bold;

}
.user-auth {
    margin-left: 40px;
}

.user-auth .login-btn-modal {
    height: 40px;
    padding: 0 35px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 40px;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: .5s;
}

.user-auth .login-btn-modal:hover {
    background: #fff;
    color: #222;
}

section {
    min-height: 100vh;
    /* background: url('noahfpv._ein_dezenter_hintergrund_von_weit_weg_ein_Wimmelbild_fb18419c-0bda-4d7a-8e03-fc23442f9bf0_1.png') no-repeat;*/
    background-size: cover;
    background-position: center;
    padding: 0 100px;
}

.background {
    position: absolute;
    width: 100%;
    height: 100%;
}
section h1 {
    position: absolute;
    bottom: 40px;
    font-size: 25px;
    color: #fff;
    font-weight: 600;
}
section h2 {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-size: 25px;
    color: #fff;
    font-weight: 600;
}

.auth-modal {
    position: fixed;
    width: 420px;
    height: 440px;
    background: rgba(0, 0, 0, .3);
    border: 2px solid rgba(255, 255, 255, .3);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .3);
    backdrop-filter: blur(20px);
    color: #fff;
    inset: 0;
    margin: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    transform: scale(0);
    transition: height .2s ease, transform .5s ease;
}




.auth-modal.show {
    transform: scale(1);
}

.auth-modal.slide {
    height: 520px;
}

.auth-modal .form-box {
    width: 100%;
    padding: 40px;
}

.box {
  width: 100%;
  padding: 40px;
}

.auth-modal .form-box.login,
.auth-modal.slide .form-box.register {
    transform: translateX(0);
    transition: transform .18s ease;
}

.auth-modal.slide .form-box.login {
    transform: translateX(-400px);
    transition: none;
}

.auth-modal .form-box.register {
    position: absolute;
    transform: translateX(400px);
}
.name h2{
    display: flex;
  justify-content: center;
  align-items: center;
}
.form-box h2 {
    font-size: 35px;
    text-align: center;
}

.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    margin: 30px 0;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .3);
    outline: none;
    border-radius: 40px;
    font-size: 16px;
    color: #fff;
    padding: 20px 45px 20px 20px;
}

.input-box input::placeholder {
    color: #fff;
}

.input-box i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.btn {
    width: 100%;
    height: 45px;
    background: #fff;
    border-radius: 40px;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    font-size: 16px;
    color: #222;
    font-weight: 500;
    cursor: pointer;
}

.form-box p {
    font-size: 14.5px;
    text-align: center;
    margin: 25px 0 10px;
}

.form-box p a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.form-box p a:hover {
    text-decoration: underline;
}

.auth-modal .close-btn-modal {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background: #fff;
    border: none;
    border-bottom-left-radius: 20px;
    font-size: 35px;
    color: #222;
    cursor: pointer;
    z-index: 1;
}

.profile-box .avatar-circle {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
    font-size: 25px;
    color: #222;
    font-weight: 600;
    cursor: pointer;
}

.profile-box .dropdown {
    position: absolute;
    top: 85px;
    right: 100px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: .5s;
}

.profile-box.show .dropdown {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.profile-box .dropdown a {
    padding: 6px 12px;
    border-radius: 4px;
    color: #222;
    text-decoration: none;
    font-weight: 500;
    margin: 2px 0;
    transition: .2s;
}

.profile-box .dropdown a:hover {
    background: #eee;
}

.alert-box {
    position: fixed;
    inset: 0;
    top: 35px;
    margin: 0 auto;
    width: 350px;
    height: 70px;
    background: #fff;
    border-radius: 6px;
    padding: 0 15px;
    z-index: 100;
    overflow: hidden;
    transform: translateY(calc(-100% - 35px));
    transition: .5s ease;
}

.alert-box.show {
    transform: translateY(0);
}

.alert {
    display: flex;
    align-items: center;
    height: 100%;
    color: #222;
    font-weight: 500;
}

.alert::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #0abf30;
    animation: progress 6s linear forwards;
}

.alert.error::after {
    background: #f00;
}

@keyframes progress {
    100% {
        width: 0;
    }
}

.alert i {
    font-size: 35px;
    color: #0abf30;
    margin-right: 8px;
}

.alert.error i {
    color: #f00;
}



/*------------------------------------------------------------------------------Kunden-------------------------------*/


     /* Hauptbereich */
    .main {
      margin-top: 50px;
      padding: 32px 48px;
      max-width: 1300px;
      margin: auto;
    }

    /* Überschrift */
    h1 {
      font-size: 2rem;
      margin-bottom: 18px;
    }

    /* Gitter-Layout für die Karten */
    .grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr); /* 3 Spalten */
      gap: 20px;
      padding: 20px;
    }

    /* Allgemeines Karten-Design */
    .card {
      background: #fff;
      border-radius: 14px;
      box-shadow: 0 2px 18px #0001;
      padding: 20px;
    }

    /* Positionierung für Karten mit Icon (optional in dieser Version) */
    .card.icon {
      align-items: flex-end;
    }

    /* Status-Card mit besonderer Farbe und größerer Schrift */
    .card.status {
      grid-column: 3/4;
      grid-row: 1/2;
      background: #f7d5d6;
      color: #3c1212;
      font-weight: 500;
      font-size: 22px;
      padding-top: 18px;
      padding-bottom: 18px;
      border-radius: 10px;
      margin-bottom: 8px;
    }

    /* Titel der Cards */
    .card .title, .location .title {
      color: #666;
      font-size: 16px;
      margin-bottom: 4px;
      font-weight: 400;
    }

    /* Große Schrift für wichtige Infos */
    .card .big {
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 6px;
    }

    /* Kleine Zusatzinfos */
    .card .small {
      font-size: 15px;
      color: #333;
    }

    /* Button für z.B. "Akte öffnen" */
    .badge {
      display: inline-block;
      background: #e7e5fe;
      color: #423488;
      font-weight: 500;
      font-size: 15px;
      border-radius: 8px;
      padding: 6px 16px;
      margin-top: 8px;
      cursor: pointer;
      border: none;
    }
    /* Allgemeiner Button */
    .btn {
      background: #eef8f8;
      color: #257278;
      border: none;
      border-radius: 8px;
      padding: 6px 16px;
      font-size: 15px;
      margin-top: 10px;
      cursor: pointer;
    }

    /* Übersicht Button*/
    .btn2 {
      background: #eef8f8;
      color: #257278;
      border: none;
      border-radius: 8px;
      padding: 12px 20px;
      font-size: 15px;
      margin-top: 5px;
      position: fixed;
      right: 200px;
    }

    /* Liste für automatische Berichte oder Schäden */
    .report-list, .damages-list {
      font-size: 17px;
      line-height: 1.6;
      margin: 0 0 16px 0;
    }
    .location, .status {
      font-size: 20px;
    }

    /* Für Bereiche mit Diagrammen/Charts */
    .chart-container {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      margin-top: 8px;
    }
    /* Beschriftung unter Diagrammen */
    .chart-label {
      font-size: 14px;
      color: #888;
      margin-bottom: 4px;
    }
    /* Anzeige, wenn keine Daten vorhanden sind */
    .no-data {
      color: #aaa;
      font-size: 20px;
      text-align: center;
      margin: 40px 0;
    }
    /* Responsives Layout für schmalere Bildschirme */
    @media (max-width: 1000px) {
      .main {
        padding: 16px 4vw;
      }
      .grid {
        grid-template-columns: 1fr 1fr;
      }
    }
    @media (max-width: 700px) {
      .main {
        padding: 6px 1vw;
      }
      .grid {
        grid-template-columns: 1fr;
      }
      .card.status {
        grid-column: 1/2;
      }
    }

    /*----------------------------------------------------------Fahrzeuge----------------------------------------------------------------*/

.window-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  padding: 32px 28px;
  background: rgba(255,255,255,0.2);
  box-shadow: 0 5px 40px 0 rgba(0,0,0,0.15);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
}


h2 {
  margin-bottom: 28px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 1px;
}


