/* Abrechnungshinweis-Modal (Kontaktseite) */

.hp-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hp-modal-content {
    background-color: #ffffff;
    width: 92%;
    max-width: 520px;
    margin: 20px;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    font-family: inherit;
    color: #333333;
    box-sizing: border-box;
}

.hp-modal-header h3 {
    margin-top: 0;
    color: #a94442;
    font-size: 22px;
    font-weight: 700;
    border-bottom: 2px solid #f5f5f5;
    padding-bottom: 12px;
    line-height: 1.3;
}

.hp-modal-body p {
    font-size: 15px;
    line-height: 1.6;
    margin: 16px 0;
}

.hp-alert-box {
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.5;
}

.hp-modal-footer {
    text-align: right;
    margin-top: 25px;
}

.hp-btn-accept {
    background-color: #2c3e50;
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    display: inline-block;
}

.hp-btn-accept:hover {
    background-color: #1a252f;
}

.hp-btn-accept:active {
    transform: scale(0.98);
}

body.modal-open {
    overflow: hidden;
}

@media screen and (max-width: 480px) {
    .hp-modal-content {
        padding: 22px 18px;
        margin: 10px;
        border-radius: 6px;
    }

    .hp-modal-header h3 {
        font-size: 18px;
        padding-bottom: 8px;
    }

    .hp-modal-body p {
        font-size: 14px;
        line-height: 1.5;
        margin: 12px 0;
    }

    .hp-alert-box {
        padding: 12px;
        margin: 15px 0;
        font-size: 13px;
    }

    .hp-modal-footer {
        margin-top: 20px;
        text-align: center;
    }

    .hp-btn-accept {
        width: 100%;
        padding: 16px 20px;
        font-size: 16px;
        box-sizing: border-box;
    }
}
