/* Zentrales Startsystem der Aquarienverwaltung: Erststart, Lesebestätigung,
   Hinweisdialog und Schritt-für-Schritt-Verknüpfung. */

.welcome-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 31, 61, .35);
}

.welcome-modal-window {
    width: min(100%, 620px);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 22px;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 31, 61, .25);
    padding: 28px;
}

.welcome-modal-window h2 {
    margin-top: 0;
}

.welcome-modal-window ol {
    padding-left: 22px;
}

.read-receipt-form {
    text-align: left;
}

.read-receipt-form .checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    white-space: nowrap;
}

.aquarienverwaltung-attention-modal {
    align-items: flex-start;
    justify-content: center;
    padding-top: calc(var(--header-height, 72px) + 12px);
}

.aquarienverwaltung-attention-window {
    width: 70vw;
    max-width: 70vw;
    min-height: 70vh;
    max-height: calc(100vh - var(--header-height, 72px) - 32px);
    overflow-y: auto;
}

.aquarienverwaltung-attention-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.aquarienverwaltung-attention-counter {
    min-width: 2.5em;
    display: inline-block;
    text-align: right;
    font-weight: 700;
    color: #7f1d1d;
}

@media (max-width: 760px) {
    .aquarienverwaltung-attention-window {
        width: calc(100vw - 28px);
        max-width: calc(100vw - 28px);
        min-height: 70vh;
    }
}

.aquarienverwaltung-attention-warning {
    margin: 14px 0 0;
    font-weight: 700;
    line-height: 1.45;
}

.aquarienverwaltung-attention-warning-blue {
    color: #38bdf8;
}

.aquarienverwaltung-attention-warning-red {
    color: #f87171;
}

.step-guide-floating-icon {
    display: none;
}

.step-guide-floating-icon.step-guide-icon-visible {
    position: absolute !important;
    top: var(--step-guide-icon-top, 28px) !important;
    right: 50px !important;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1 !important;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.step-guide-floating-icon:hover,
.step-guide-floating-icon:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.24);
}

.step-guide-floating-icon img {
    display: block;
    width: 48px;
    height: 48px;
}

.site-header {
    z-index: 10 !important;
}

.step-guide-card-host {
    position: relative !important;
}

.step-guide-card-host > h1:first-child {
    padding-right: 96px !important;
}

@media (max-width: 900px) {
    .step-guide-card-host > h1:first-child {
        padding-right: 72px !important;
    }

    .step-guide-floating-icon.step-guide-icon-visible {
        top: var(--step-guide-icon-top, 24px) !important;
        right: 24px !important;
    }
}
