/* === Navigation === */
.navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #fff !important;
}
.navbar .dropdown-toggle {
    color: rgba(255, 255, 255, 0.9) !important;
}


/* === UUID Copy Button === */
.uuid-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #f8fafc;
    color: #0f172a;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.uuid-text {
    font-family: monospace;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
}

.uuid-btn:active {
    transform: translateY(1px);
}

.copied {
    margin-left: 12px;
    color: green;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* === Artikel-Buttons (Kassenbuch) === */
button.article {
    min-height: 90px;
    width: 100%;
    line-height: 1.4;
    border: none;
    border-radius: 8px;
    transition: filter 0.1s, transform 0.1s;
}

button.article:hover  { filter: brightness(1.08); }
button.article:active { filter: brightness(0.92); transform: translateY(1px); }

button.article.green      { background-color: #3c763d; color: white; }
button.article.lightgreen { background-color: lightgreen; color: black; }
button.article.yellow     { background-color: #edcd7e; color: black; }
button.article.orange     { background-color: orange; color: black; }
button.article.red        { background-color: #EE0000; color: white; }
button.article.blue       { background-color: #0000CC; color: white; }
button.article.lightblue  { background-color: #61e2ff; color: black; }
button.article.brown      { background-color: #5B3A29; color: white; }
button.article.mint       { background-color: #00b4a2; color: white; }
button.article.violet     { background-color: blueviolet; color: white; }
button.article.pink       { background-color: deeppink; color: white; }


/* === Startseite (Kachel-Auswahl) === */
.dashboard-tile {
    transition: transform .1s ease, box-shadow .1s ease;
}
.dashboard-tile:hover,
.dashboard-tile:focus {
    transform: translateY(-2px);
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
    border-color: #1f68a2;
}
.dashboard-tile-icon {
    font-size: 2.5rem;
    line-height: 1;
}


/* === Wetter (?module=weather) === */
.wx-report {
    font-family: var(--bs-font-monospace);
    font-size: .85rem;
    background: #f8f9fa;
    border-radius: .375rem;
    padding: .75rem;
    overflow-wrap: anywhere;
}
.wx-station + .wx-station { margin-top: .75rem; }
/* Hängender Einzug: Folgezeilen eines automatischen Umbruchs rücken genau 1 Zeichen weiter ein */
.wx-line {
    padding-left: 1ch;
    text-indent: -1ch;
}
.wx-indent-1 { margin-left: 2ch; }
.wx-indent-2 { margin-left: 3ch; }
.wx-becmg { color: #c00; }
.wx-tempo { color: #00c; font-style: italic; }
.wx-tempo-prob { color: #55f; font-style: italic; }
.wx-cam {
    position: relative;
    display: block;
}
.wx-cam-label,
.wx-carousel .wx-cam-label {
    position: absolute;
    top: .4rem;
    right: .4rem;
    z-index: 2;
    padding: .1rem .45rem;
    border-radius: .25rem;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: .8rem;
}
.wx-carousel .carousel-item { position: relative; }
.wx-cam-missing {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    background: #f1f3f5;
    color: #6c757d;
    font-size: .9rem;
}
