.legal-note {
    margin-top: 5px;
    padding: 10px;
}
.ca_message {
    display: block;
    padding: 30px;
    border: 1px solid #E6002E;
    color: #E6002E;
    font-weight: bold;
    margin-top: 5px;
    position: absolute;
    top: -300px;
    width: 98%;
    height: fit-content;
    min-height: 50px;
    background: white;
    z-index: 1000;
    border-radius: 5px;
    transition: all 1s cubic-bezier(.17,.67,.15,1);
    opacity: 1;
}
.ca_active {
    top: 30px;
    opacity: 1;
}

.ca_message_close {
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    font-size: large;
    height: 20px;
    width: 20px;
    color: #000;
}
.ca_message_close:before {
    content:"+";
    font-weight: 900;
    font-size: xx-large;
    transform-style: preserve-3d;
    display: inline-block;
    position: absolute;
    transform: rotate(45deg);
    bottom: -11px;
    left: 1px;
}
.ca_match {
    display: block;
    position: absolute;
    right: 35px;
    transition: all 1.5s cubic-bezier(0,.05,0,.99);
    opacity: 0;
    top: 180px;
} 
.ca_match.active {
    right: 15px;
    transition: all 1.5s cubic-bezier(0,.05,0,.99);
    opacity: 1;
}
.ca_match span {
    display: block;
    height: 20px;
    width: 30px;
} 
.ca_match .ca_matchTextUp::before {
    display: block;
    content: " ";
    height: 1px;    
    width: 20px;
}  
.ca_match .ca_matchTextUp::after {
    display: block;
    content: " ";
    height: 10px;
    width: 1px;
    position: absolute;
    right: 10px;
}
.ca_match .ca_matchTextDown::before {
    display: block;
    content: " ";
    height: 1px;    
    width: 20px;
    position: absolute;
    bottom: 0px;
}  
.ca_match .ca_matchTextDown::after {
    display: block;
    content: " ";
    height: 10px;
    width: 1px;
    position: absolute;
    right: 10px;
    bottom: 0px;
}
.ca_match .ca_matchTextMid::before {
    display: block;
    right: -14px;
    top: 2px;
    background: transparent !important;
    width: 10px;
    position: relative;
}
.bg_green span::after,.bg_green span::before {
    background: #26a86e;
    color: #26a86e;
}
.bg_red span::after,.bg_red span::before {
    background: #E6002E;
    color: #E6002E;
}
.req_left span.form-control-feedback {
    right: -7px;
}
.red_border {
    border: 1px solid #E6002E;
    transition: all 0.5s ease;
}
.green_border {
    border: 1px solid #23da87;
    transition: all 0.5s ease;
}

/* Overlay */
.my_overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Modal startet oben */
  padding-top: 80px; /* Abstand von oben */
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.my_overlay.show {
  opacity: 1;
}

/* Modal Box */
.my_modal {
  background: white;
  padding: 20px 30px;
  border-radius: 8px;
  width: 350px;
  position: relative;
  transform: translateY(-40px); /* Startposition */
  opacity: 0;
  transition: all 0.35s ease;
}
.my_modal h2 {
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
}
.my_overlay.show .my_modal {
  transform: translateY(0);
  opacity: 1;
}

/* Close Button */
.my_close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.my_close-btn:hover {
  color: black;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
.text-muted {
 display: none;
}
.hint_message {
    position: relative;
    width: 100%;
    padding: 20px;
    font-weight: bold;
    text-align: center;
    border: 1px solid #f05c06;
    opacity: 1;
    transition: all 0.7s ease;
    height: fit-content;
    max-width: 69%;
    margin-left: 20px;
}
.hide_me {
    opacity: 0;
    height: 0px;
    padding: 0px;
    border: none;
}
.order_items_list ul {
    list-style: none;
    padding-left: 0;
    display:flex;
    flex-wrap: nowrap;
}
.order_items_list ul li {
    margin-right: 15px;
    text-align: center;
    vertical-align: middle;
}
.order_items_list ul li:nth-child(2) {
    max-width: 60%;
}
.select-header {
    margin-bottom: 5px;
    width: 100%;
}
.centered {
    z-index: 1001;
    background-color: aliceblue;
    border-radius: 5px;
    padding: 5%;
    margin: auto;
    margin-top: 10%;
    text-align: center;
    max-width: 400px;
    transition: all 1s ease;
    transform: scale(0.8);
    opacity: 0;
}
.centered.active {
    transform: scale(1);
    opacity: 1;
    transition: all 1s ease;
}