@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color, var(--dxds-color-content-neutral-default-rest));
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

.icon {
    width: var(--icon-width);
    height: var(--icon-height);
    background-color: currentcolor;
    mask-position: center center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-image: var(--icon-mask-image);
    mask-image: var(--icon-mask-image);
}

/* Havenplan Highlight */
.lp-highlighted {
    fill: #f59e0b !important;
    stroke: #d97706 !important;
    stroke-width: 3px !important;
    filter: drop-shadow(0 0 6px #f59e0b);
    transition: fill 0.3s ease;
}

.havenplan-outer {
    position: relative;
    margin-bottom: 1rem;
}

.havenplan-toolbar {
    display: flex;
    gap: 6px;
    padding: 6px 8px;
    background: #f1f3f5;
    border: 1px solid #dee2e6;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}

.havenplan-wrapper {
    width: 100%;
    overflow: hidden; /* war: auto – jetzt hidden für transform-Zoom */
    max-height: 340px;
    border: 1px solid #dee2e6;
    border-radius: 0 0 8px 8px;
    background: #f8f9fa;
    cursor: grab;
}

.lp-available {
    fill: #22c55e !important;
    stroke: #16a34a !important;
}

.lp-occupied {
    fill: #ef4444 !important;
    stroke: #dc2626 !important;
}

.lp-unavailable {
    fill: #94a3b8 !important;
    stroke: #64748b !important;
    opacity: 0.6;
}

.lp-highlighted {
    fill: #f59e0b !important;
    stroke: #d97706 !important;
    stroke-width: 3px !important;
    filter: drop-shadow(0 0 6px #f59e0b);
}

.berth-quick-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #f0fdf4;
    border: 1px solid #22c55e;
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    margin: 0.75rem 0 1rem 0;
}

.berth-quick-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.berth-quick-icon {
    font-size: 1.4rem;
    color: #16a34a;
    background: #dcfce7;
    border-radius: 50%;
    width: 2.2rem;
    height: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.berth-quick-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #15803d;
}

.berth-quick-details {
    font-size: 0.82rem;
    color: #64748b;
}