/* _______________________________________________________________ */
/* Allgemeine Stile */
/* _______________________________________________________________ */

:root {
  --title-blue:#061A48;
  --link-blue:#656A92;
  --orange:#EE5719;
  --bg-grey:#E0E0E0;
  --bg-grey-rgb: 230, 230, 230;
  --text-black:#1E1E1E;
  --text-grey:#4F4F4F;
}
/* _______________________________________________________________ */
/* Stile für die gesamte Seite */
/* _______________________________________________________________ */

body {
  font-family: 'Roboto', sans-serif;
  width: 100%;
  line-height: 1.5;
  margin: 0;
}

.user-profile{
  background-color: var(--bg-grey);
}

h1 {
color: white;
text-align: center;
font-family: 'Roboto', sans-serif;
font-size: 36px;
font-style: normal;
font-weight: 300;
}

h2 {
  color: var(--title-blue);
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  margin:0 auto 10px auto;
}

h3 {
  color: var(--title-blue);
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
}

h4 {
  color: var(--title-blue);
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  margin: 0 auto 10px auto;
}

.page_title, .last_request_offer{
 width: 500px;
 margin: 0 auto;
}

@media screen and (max-width: 600px) {
  .page_title, .last_request_offer{
    width: 90vw;
  }
}

.last_request_offer{
  display: flex;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--link-blue);
}

.contact_container{
  background-color: var(--bg-grey);
  width: 500px;
  box-sizing: border-box;
  border-radius: 5px;
  padding: 1px 20px;
  margin: 20px auto;
}

@media screen and (max-width: 600px) {
  .contact_container{
    width: 90vw;
  }
}

.contact-item{
  cursor:pointer
}

.alert_box {
  background-color: #FE0000;
  color: white;
  width: 500px;
  box-sizing: border-box;
  height: auto;
  border-radius: 20px;
  margin: 20px auto 40px auto;
  padding: 20px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

@media screen and (max-width: 600px) {
  .alert_box {
    width: 90vw;
  }
}

.verification_info {
  text-align: center;
  width:400px;
  margin: 0 auto 10px auto;
}

@media screen and (max-width: 600px) {
  .verification_info {
    width: 80vw;
  }
}

.verification_code_box {
  background-color: var(--bg-grey);
  color: var(--text-black);
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 700;
  width: 500px;
  height: 60px;
  box-sizing: border-box;
  border-radius: 20px;
  margin: 20px auto 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 10px;
}

@media screen and (max-width: 600px) {
  .verification_code_box {
    width: 90vw;
  }
}

.pin-input-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.pin-input {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 28px;
  border: none;
  border-radius: 8px;
  background-color: #e0e0e0;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
  outline: none;
  transition: all 0.2s ease;
}

.pin-input:focus {
  background-color: #ffffff;
  box-shadow: 0 0 5px rgba(100, 150, 255, 0.8);
}

.verification_container a{
  display: flex;
  width: 100%;
  color: var(--link-blue);
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 20px auto;
  justify-content: center;
}

/* _______________________________________________________________ */
/* home.html */
/* _______________________________________________________________ */

.btn_add_contact {
  display: flex;
  flex-direction: column;
  background-color: var(--orange);
  box-shadow:rgba(0, 0, 0, 0.5) 0px 4px 4px;
  width: 500px;
  height: auto;
  border-radius: 20px;
  margin: 20px auto;
  color: white;
  text-decoration: none;
  align-items: center;
  padding: 20px 0;
  gap: 10px;
}

@media screen and (max-width: 600px) {
  .btn_add_contact {
    width: 90vw;
  }
}

.btn_add_contact span {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: white;
}

.btn_request_offer {
  display: flex;
  background-color: var(--orange);
  box-shadow:rgba(0, 0, 0, 0.5) 0px 4px 4px;
  width: 500px;
  height: 92px;
  border-radius: 20px;
  margin: 20px auto;
  color: white;
  text-decoration: none;
  align-items: center;
  gap: 20px;
}

@media screen and (max-width: 600px) {
  .btn_request_offer {
    width: 90vw;
  }
}

.btn_request_offer:hover, .btn_add_contact:hover {
  background-color: var(--title-blue);
  box-shadow: none;
}

.btn_request_offer span {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: white;
  margin: 0 0 0 40px;
}

.circle_plus {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  width: 60px;
  margin: 0 0 0 20px;
  border-radius: 50%;
  background-color: white;
  box-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.circle_plus p {
  color: var(--orange);
  font-family: 'Roboto', sans-serif;
  font-size: 40px;
  font-weight: 700;
  margin: 0;
}

.activity-card{
  background-color: var(--bg-grey);
  width: 500px;
  box-sizing: border-box;
  border-radius: 5px;
  padding: 10px 20px;
  margin: 20px auto;
}

@media screen and (max-width: 600px) {
  .activity-card{
    width: 90vw;
  }
}

.activity-card a, .activity-label{
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

.activity-card a{
  color: var(--link-blue);
  font-weight: 700;
  margin: 0 0 10px 0;
}

.activity-label{
  display: flex;
  justify-content: space-between;
  margin: 0 0 10px 0;
}

.activity_description{
  color: var(--orange);
  font-weight: 700;
}

.activity_value{
  color: var(--text-grey);
  font-weight: 400;
  text-align: right;
}

/* _______________________________________________________________ */
/* Formular Stile */
/* _______________________________________________________________ */

form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    padding: 0 0 20px 0;
    background: linear-gradient(
    to bottom,
    rgba(var(--bg-grey-rgb), 0) 0%,         /* oben transparent */
    rgba(var(--bg-grey-rgb), 1) 10%,        /* sanfter Übergang */
    rgba(var(--bg-grey-rgb), 1) 90%,        /* Mitte voll deckend */
    rgba(var(--bg-grey-rgb), 0) 100%        /* unten wieder transparent */
  );
}

form div{
    margin: 20px 0;
}

.form_checkbox_transport {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.form_checkbox_transport input {
  width: 20px;
  height: 20px;
  margin: 0 auto;
  border: none;
  background-color: white;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
}

.form_checkbox_transport label {
  text-align: center;
  color: var(--text-grey);
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-top: 5px;
  width: 100%;
}

@media screen and (max-width: 600px) {
  .form_checkbox_transport label {
    font-size: 18px;
    margin: 0 auto 5px 5vw;
  }
}

.form_container{
  width: 500px;
  margin: 0 auto;
}

@media screen and (max-width: 600px) {
  .form_container{
    width: 90vw;
  }
}

.form_container select{
  width: 460px;
  height: 40px;
  border-radius: 15px;
  border: none;
  box-sizing: border-box;
  background-color: white;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
  padding: 0 10px;
  display: flex;
  align-items: center;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: var(--text-grey);
  
  /* Abstand für den Dropdown-Pfeil */
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='10' viewBox='0 0 16 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L8 8L15 1' stroke='%23656A92' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px 10px;
}
@media screen and (max-width: 600px) {
  .form_container select {
    width: 90vw;
    margin: 0 auto 0 auto;
    font-size: 18px;
  }
}

.form_container textarea{
  width: 460px;
  height: 100px;
  border-radius: 15px;
  border: none;
  background-color: white;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
  margin: 10px 0;
  display: flex;
  padding: 10px;
  box-sizing: border-box;
  align-items: center;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}
@media screen and (max-width: 600px) {
  .form_container textarea {
    width: 90vw;
    margin: 0 auto 20px auto;
    font-size: 18px;
  }
}

input {
  width: 460px;
  height: 40px;
  border-radius: 15px;
  border: none;
  box-sizing: border-box;
  background-color: white;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;
  padding: 0 10px;
  display: flex;
  align-items: center;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}
@media screen and (max-width: 600px) {
  input {
    font-size: 18px;
    width: 90vw;
  }
}

input[type="datetime-local"] {
  position: relative;
  padding-right: 40px;
  background: white url("data:image/svg+xml,%3Csvg fill='none' height='20' width='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23656A92' stroke-width='2' d='M3 5h14M16 5v12H4V5m2-3v4m8-4v4M5 9h10'/%3E%3C/svg%3E") no-repeat right 10px center;
  background-size: 20px;
  cursor: pointer;


   /* Empfohlene, klare Werte für Cross-Browser */
  -webkit-appearance: none; /* entfernt WebKit-Default UI (Chrome/Android, Safari) */
  -moz-appearance: none;    /* Firefox */
  appearance: none;         /* Standard */
}

input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  cursor: pointer;
  position: absolute;
  right: 10px;
  width: 20px;
  height: 20px;
  z-index: 3;
}

/* Pfeil in Chrome/Android verstecken */
input[type="datetime-local"]::-webkit-inner-spin-button,
input[type="datetime-local"]::-webkit-clear-button {
  display: none;
}

/* Dropdown-Pfeil bei Firefox entfernen */
input[type="datetime-local"]::-moz-focus-inner {
  border: 0;
}

/* Struktur-Fix für Android (verhindert doppelten Dropdown-Pfeil) */
input[type="datetime-local"]::-webkit-datetime-edit-fields-wrapper {
  position: relative;
  z-index: 2;
}

/* _______________________________________________________________ */
/* user-profile.html */
/* _______________________________________________________________ */

.edit_profile{
  background-color: white;;
  width: 500px;
  box-sizing: border-box;
  border-radius: 20px;
  margin: 0 auto;
  padding: 0 0 10px 0;
}
@media screen and (max-width: 600px) {
  .edit_profile{
    width: 100%;
    font-size: 18px;
  }
}

.icon-container{
  background-color: var(--title-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  border-radius: 20px 20px 0 0;
}
.icon-container img{
  width: 100px;
  height: 100px;
  margin: 50px auto;
}

.edit_profile section{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
  width: 100%;
}

.edit_profile section input{
  width: 460px;
  height: 40px;
  border-radius: 0;
  border-bottom: 2px solid var(--title-blue);
  background-color: white;
  box-shadow: none;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  font-family: 'Roboto', sans-serif;
}
@media screen and (max-width: 600px) {
.edit_profile section input{
    width: 90vw;
    margin: 0 auto 20px auto;
    font-size: 18px;
  }
}

.edit_profile a{
  display: flex;
  width: 100%;
  color: var(--link-blue);
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin: 20px auto;
  justify-content: center;
}

.notification{
  display: flex;
  flex-direction: column;
}
.notification img{
  width: 200px;
  margin: 50px auto;
}

.notification h3{
  margin: 0 auto;
}

/* _______________________________________________________________ */
/* Stile für die Buttons */
/* _______________________________________________________________ */

button{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px auto 0 auto;
    width: 345px;
    height: 50px;
    background-color: var(--orange);
    border-radius: 50px;
    border: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 7px 39px 0px rgba(0, 0, 0, 0.25);

    text-decoration: none;
    color: white;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

button:hover{
    width:350px;
    height: 60px;
    color: var(--title-blue);
}

/* _______________________________________________________________ */
/* Footer */
/* _______________________________________________________________ */

.empty_bottom {
  height: 150px;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  box-shadow: 0px 7px 39px 0px rgba(0, 0, 0, 0.25);
  background-color: white;
}

footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: stretch;
  padding: 0;
  margin: 0;
  width: 100%;
}

footer ul li {
  flex: 1;
  text-align: center;
}

footer ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-black);
  cursor: pointer;
  padding: 10px 0;
  height: 100%;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

footer ul li a:hover,
footer ul li a:active {
  background-color: var(--orange);
}

footer ul li a img {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 auto 8px auto; /* zentriert & Abstand nach unten */
}


footer ul li a span {
  display: flex;
  justify-content: center;
  text-align: center;
  font-family: Roboto;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

@media screen and (max-width: 600px) {
  footer ul li a span {
    font-size: 18px;
    margin-top: -5px;
  }
}

/* _______________________________________________________________ */
/* Popups */
/* _______________________________________________________________ */

.popup{
  display:none;
  position:fixed;
  top:20%;
  left:50%;
  transform:translateX(-50%);
  background:white;
  padding:20px;
  border:1px solid #ccc;
  box-shadow:0 2px 10px rgba(0,0,0,0.2);
  z-index:1000;
}

.popup p{
  font-size: 20px;
  color: var(--text-black);
  margin: 0 auto 20px auto;
}

#popup-msg-btn, #popup-call-btn{
  width:250px;
  height:40px;
  border-radius:5px;
  color: var(--link-blue);
  background-color: var(--bg-grey);
  border-color:var(--title-blue);
  border-style:solid;
  border-width:0 0 2px 2px;
}

  #popup-msg-btn :hover, #popup-call-btn :hover{
  width:250px;
  height:40px;
  border-radius: 5px;
  color: white;
  background-color: var(--title-blue);
  border-color:var(--bg-grey);
  border-style:solid;
  border-width:0 0 2px 2px;
} 

.popup-answer {
  margin-top:30px;
}

.popup-close{
  cursor:pointer;
}

/* Ergänzung: allgemeines Kontakt-Popup sichtbar machen */
#contact-popup {
  display: none;
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 2000; /* höher als andere Popups */
  border-radius: 10px;
  max-width: 90%;
  width: 400px;
}

#contact-popup.active {
  display: block;
}
