﻿#reklamationsretModal {
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(900px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    color: #222;
    background: #fff;
}

#reklamationsretModal[open] {
    display: flex;
    flex-direction: column;
}

#reklamationsretModal::backdrop {
    background: rgba(0, 0, 0, 0.65);
}

#reklamationsretModal .rettigheder-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    gap: 12px;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #ddd;
}

#reklamationsretModal h2 {
    min-width: 0;
    margin: 0;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

#reklamationsretModal button {
    flex-shrink: 0;
    min-height: 44px;
    padding: 8px 12px;
    cursor: pointer;
}

#reklamationsretModal .rettigheder-indhold {
    min-height: 0;
    padding: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

#reklamationsretModal img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

#reklamationsretModal p {
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    #reklamationsretModal {
        width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
        max-height: calc(100dvh - 16px);
    }

        #reklamationsretModal .rettigheder-top,
        #reklamationsretModal .rettigheder-indhold {
            padding: 10px;
        }
}


