@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0px;
    padding: 0px;
    color: #222222;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #fdfdfd;
        color: #222222;
    }
}

@media (prefers-color-scheme: light) {
    body {
        background-color: #fdfdfd;
        color: #222222;
    }
}

#container {
    display: flex;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.panel {
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#chat-list {
    width: 35%;
    background-color: #f7f7f7;
    border-right: 1px solid #ddd;
    z-index: 1;
    position: relative;
    transform: translateX(0);
    opacity: 1;
}

#chat-content {
    width: 65%;
    background-color: #fff;
    position: relative;
    height: 100%;
    transform: translateX(0);
    opacity: 1;
    z-index: 2;
}


.message-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fdfdfd;
    border-radius: 12px;
    font-size: 16px;
    color: #333;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.message-container:before {
    content: "“";
    font-size: 50px;
    color: #78a31b;
    position: absolute;
    top: 0px;
    left: 20px;
    font-weight: bold;
    z-index: 10;
}

.message-container:after {
    content: "”";
    font-size: 50px;
    color: #85b41f;
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-weight: bold;
}

.message-content {
    padding: 10px 20px;
}

.message-content h2 {
    margin: 0px;
}


.toggle-checkbox {
    display: none;
}

.toggle-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.toggle-content.open {
    max-height: 500px; /* Hier die maximale Höhe anpassen */
}
.infoWindowLink {
    display: block; /* Macht jedes Element zu einem Blockelement, wodurch es auf einer neuen Linie steht */
    float: right;
    padding: 5px 10px;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: bold;
    width: 4px;
    color: #ffffff; /* Weißer Text für guten Kontrast */
    text-decoration: none;
    border: 2px solid #8d6e63; /* Erdiger Braunton für den Rahmen */
    border-radius: 8px; /* Abgerundete Ecken */
    background-color: #8d6e63; /* Neutraler Braunton für den Hintergrund */
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 0px; /* Abstand nach oben zwischen den Buttons */
    margin-left: 0; /* Entfernt den linken Rand, da float entfernt wurde */
}

.infoWindowLink:hover {
    background-color: #795548; /* Dunklerer Braunton beim Hovern */
    color: white;
    cursor: pointer;
}



.photo-container {
    position: relative;
    width: 300px; /* Breite des Bildes */
    height: 200px; /* Höhe des Bildes */
    overflow: hidden;
    border-radius: 15px; /* Abgerundete Ecken */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Leichter Schatten für Tiefe */
    transition: transform 0.3s ease;
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bild wird zugeschnitten, um den Container zu füllen */
    transition: transform 0.3s ease;
}

.photo-container:hover {
    transform: scale(1.05); /* Leichtes Vergrößern des Containers beim Hover */
}

.photo-container:hover img {
    transform: scale(1.1); /* Leichtes Vergrößern des Bildes beim Hover */
}

.text-overlay {
    position: absolute;
    bottom: 10px; /* Positioniert den Text 10px vom unteren Rand entfernt */
    left: 10px; /* Positioniert den Text 10px vom linken Rand entfernt */
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Textschatten für bessere Lesbarkeit */
}

.highlighted-section-positive {
    background-color: #f7f7f7; /* Heller Hintergrund für Hervorhebung */
    border-left: 4px solid #78a31b; /* Airbnb-Rot für den linken Rand */
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px; /* Abgerundete Ecken für einen modernen Look */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Subtiler Schatten für leichte Hervorhebung */
    font-weight: bold; /* Fettgedruckt, um den Text hervorzuheben */
}

.highlighted-section-negative {
    background-color: #f7f7f7; /* Heller Hintergrund für Hervorhebung */
    border-left: 4px solid #fb253a; /* Airbnb-Rot für den linken Rand */
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px; /* Abgerundete Ecken für einen modernen Look */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* Subtiler Schatten für leichte Hervorhebung */
    font-weight: bold; /* Fettgedruckt, um den Text hervorzuheben */
}


@media (max-width: 1000px) {
    #container {
        flex-direction: row;
    }

    #chat-list {
        width: 100%;
        height: 100%;
        transform: translateX(0);
        opacity: 1;
        z-index: 1;
        position: absolute; /* Absolut positioniert für überlappende Animation */
    }

    #chat-content {
        width: 100%;
        height: 100%;
        z-index: 2;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 1;
    }
}

button#close-chat {
    display: none; /* Standardmäßig versteckt */
}

@media (max-width: 1000px) {
    button#close-chat {
        display: block; /* In der mobilen Ansicht sichtbar */
    }
}

button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-bottom: 20px;
}

button:hover {
    background-color: #0056b3;
}

/* Mobile Logo */
.logo-mobile {
    max-width: 100%;
    height: auto;
    display: block; /* Standardmäßig sichtbar */
}

/* Desktop Logo */
.logo-desktop {
    max-width: 100%;
    height: auto;
    display: none; /* Standardmäßig unsichtbar */
}

/* Media Queries für unterschiedliche Bildschirmgrößen */
@media (min-width: 1000px) {
    .logo-mobile {
        display: none; /* Verstecke mobiles Logo auf großen Bildschirmen */
    }
    .logo-desktop {
        display: block; /* Zeige Desktop-Logo auf großen Bildschirmen */
    }
}

/* Lade-Icon-Styling */
.loaderRotation {
    border: 8px solid #f3f3f3; /* Light gray */
    border-top: 8px solid #1f679a; /* Unternehmensfarbe */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 50px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

a {
    color: #1f679a; /* Primärfarbe für Links */
    text-decoration: none; /* Entfernt die Unterstreichung */
    font-weight: bold; /* Fettschrift für bessere Lesbarkeit */
    transition: color 0.3s ease, border-bottom 0.3s ease; /* Sanfte Übergänge */
    border-bottom: 2px solid transparent; /* Border unter dem Link für einen dezenten Effekt */
}

a:hover {
    color: #fb253a; /* Helleres Rot beim Hover */
    border-bottom: 2px solid #1f679a; /* Sichtbare Border beim Hover */
}

a:active {
    color: #2678b2; /* Dunkleres Rot beim Klicken */
}

a:visited {
    color: #1f6699; /* Gedämpftere Farbe für besuchte Links */
}


/* Appointment card container */
.appointment-card {
    margin: 24px;
    margin-left: 0px;
    margin-right: 0px;
    padding: 24px;
    border-radius: 12px;  /* Medium border-radius */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);  /* Secondary elevation shadow */
    border: 1px solid rgba(0, 0, 0, 0.04);  /* Secondary elevation border */
    background-color: #FFFFFF;
    max-width: 800px;
}

/* Appointment header */
.appointment-header h2 {
    font-size: 1.25rem;  /* 20px */
    color: #222222;
    margin-bottom: 16px;
    width: 100%;
}

/* Appointment details */
.appointment-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: right;
}
.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #F0F0F0;
    flex-wrap: wrap; /* Ermöglicht Umbruch, wenn der Platz knapp wird */
}

.detail-label {
    margin-inline-end: 10px;
    font-weight: 600;
    color: #222222;
    flex: 1 1 auto; /* Label nimmt flexiblen Platz ein */
}

.detail-value {
    color: #2d2d2d;
    text-align: right; /* Text rechtsbündig */
    flex: 1 1 auto; /* Wert nimmt flexiblen Platz ein */
    max-width: 50%; /* Optional: Begrenzung der maximalen Breite */
}

.map-container {
    margin-top: 16px;
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
}
#map {
    height: 300px; /* Eine feste Höhe ist notwendig */
    width: 100%;   /* Volle Breite der Seite */
    border: 1px silver solid;
}

span{
    color: #fb253a;

}

.round-image {
    position: absolute;
    bottom: -30px; /* Position nach unten */
    right: 15px; /* Position nach links */
    width: 75px; /* Maximale Breite */
    height: 75px; /* Maximale Höhe */
    border-radius: 50%; /* Rundes Bild */
    border: 5px solid #fff; /* Weißer Rahmen um das Bild */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Leichter Schatten */
    object-fit: cover; /* Bildinhalt passend skalieren */
    z-index: 5; /* Bild überlagert das Container-Hintergrund */
}
