﻿.btnDataHistory {
    cursor: pointer;
}

.history-modal[hidden] {
    display: none !important;
}

.history-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.history-modal__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
}

.history-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(96vw, 1100px);
    height: min(88vh, 760px);
    margin: 4vh auto;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.history-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #dee2e6;
}

.history-modal__title {
    margin: 0;
    color: #00838a;
}

.history-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #495057;
    font-size: 1.5rem;
    line-height: 1;
}

.history-modal__close:hover {
    color: #212529;
}

.history-modal__body {
    flex: 1 1 auto;
    min-height: 0;
}

.history-modal__iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background-color: #fff;
}

body.history-modal-open {
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .history-modal__dialog {
        width: 100vw;
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .history-modal__header {
        padding: 0.75rem 0.875rem;
    }
}

