.digidr-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

    .digidr-modal.is-open {
        display: block;
    }

/* Overlay */
.digidr-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
    pointer-events: auto;
}

/* Dialog */
.digidr-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(820px, calc(100% - 32px));
    margin: 80px auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

/* Close button (FRONTEND DESIGN RESTORED) */
.digidr-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
}

    .digidr-modal__close .material-symbols-outlined {
        font-size: 22px;
    }

/* Title */
.digidr-modal__title {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 22px;
    color: #000000;
    text-align: center;
}

/* Bootstrap row fix (VERY IMPORTANT) */
.digidr-modal .row {
    margin-left: 0;
    margin-right: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .digidr-modal__dialog {
        margin: 60px auto;
        padding: 24px 18px;
    }

    .digidr-modal__title {
        font-size: 28px;
    }
}
