﻿.map-container {
    width: 95%;
    max-width: 400px;
    align-content: center;
    justify-content: center;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
[id] {
    scroll-behavior: smooth;
    scroll-margin-top: 70px; /* Höhe deiner Sticky-Navbar + etwas Abstand */
}
/*.sticky-navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.85);*/ /* leicht transparent, wirkt elegant */
    /*backdrop-filter: blur(6px);*/ /* Glassmorph-Effekt */
    /*padding: 0.75rem 1rem;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);*/ /* subtile Tiefe */
/*}*/
.sticky-navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, rgba(212, 175, 55, 0.9), rgba(150, 181, 111, 0.9));
    color: black;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    opacity: 0.8
}


.nav-link {
    text-decoration: none !important; /* <- entfernt Standardlinie */
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    -webkit-text-fill-color: black;
    transition: all 0.3s ease;
    padding: 4px 8px;
    position: relative;
    color: black;
}

    .nav-link:hover {
        color: black;
        text-shadow: 0 0 6px rgba(255, 232, 115, 0.5);  
        transform: scale(1.15);
    }
    .nav-link.active {
        font-weight: bold;
        text-shadow: 0 0 4px rgba(255, 255, 255, 0.7);
        border-bottom: 3px solid #D4AF37;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 3px; /* kräftiger */
        background: linear-gradient(to right, #D4AF37, #96B56F); /* satter Verlauf */
        opacity: 0.95; /* nahezu deckend */
        border-radius: 2px; /* leicht abgerundet */
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.3s ease-in-out;
        z-index: 1;
    }

    .nav-link:hover::after {
        transform: scaleX(1);
        box-shadow: 0 0 6px rgba(212, 175, 55, 0.8); /* Gold-Schimmer */
    }
.centered-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-align: center;
}
.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 120px); /* 150px je nach Header/Footer anpassen */
}
.zusagen-wrapper {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 120px); /* 150px je nach Header/Footer anpassen */
}

@media (max-width: 600px) {
    .map-container {
        height: 300px;
    }
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-Regular.ttf') format('truetype');
}

.playfair {
    font-family: 'Playfair Display', serif;
}

.selected {
    background-color: #1E88E5 !important;
}

    .selected > td {
        color: white !important;
        background-color: #1E88E5 !important;
    }

        .selected > td .mud-input {
            color: white !important;
            background-color: #1E88E5 !important;
        }

        .selected > td .mud-primary-text {
            color: white !important;
        }

.inEditMode {
    background-color: #FF9800 !important;
}

    .inEditMode > td {
        color: white !important;
        background-color: #FF9800 !important;
    }

        .inEditMode > td .mud-input {
            color: white !important;
            background-color: #FF9800 !important;
        }

.mud-input {
    font-size: 0.85rem !important;
}

.mud-table-cell {
    font-size: 0.75rem !important;
}

.my-reconnect-modal > div {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    overflow: hidden;
    background: #fff;
    opacity: 1;
    text-align: center;
    font-weight: bold;
}

.components-reconnect-hide > div {
    display: none;
}

.components-reconnect-show > div {
    display: none;
}

.components-reconnect-show > .show {
    display: block;
}

.components-reconnect-failed > div {
    display: none;
}

.components-reconnect-failed > .failed {
    display: block;
}

.components-reconnect-rejected > div {
    display: none;
}

.components-reconnect-rejected > .rejected {
    display: block;
}

MudItem:hover {
    color: darkcyan;
}
