.lp-date-details-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 9999;

    background-color: rgba(0, 0, 0, 0);

    transition: background-color .5s ease-in-out;

    .lp-date-details-panel {
        position: absolute;
        top: 0;
        bottom: 0;
        right: -50%;

        background-color: #ffffff;
        padding: 1rem;
        width: 33%;

        display: flex;
        flex-direction: column;
        gap: 1rem;

        transition: right .5s ease-in-out;

        @media (max-width: 781px) {
            padding: 0;
            right: -200%;
            max-width: 100%;
            width: 100%;
        }

        .lp-date-details-close {
            display: block;
            text-align: right;
            cursor: pointer;
        }

        h2 {
            text-align: center;
        }

        .lp-date-details-info {
            display: flex;
            flex-direction: row;
            justify-content: space-between;

            font-size: 1rem;
        }

        .lp-date-details-form {
            display: flex;
            flex-direction: column;

            overflow: auto;
            padding-bottom: 2rem;

            .lp-date-details-submit {
                align-self: center;

                margin: 2rem 0;
                padding: .5rem 1rem;
                text-decoration: none;
                background-color: #253895;
                color: #ffffff;
                border-radius: 4px;
                word-break: keep-all;
                cursor: pointer;

                &.disabled {
                    background-color: #5b6494;
                    cursor: not-allowed;
                }
            }

            table {
                max-width: calc(100% - 2rem);
            }

            th {
                padding-right: .5rem;
            }

            input {
                outline: none;
                padding: .5rem;
                font-size: 1rem;
                border: none;
                border-bottom: 2px solid #253895;
                border-radius: 4px;
                width: 100%;
            }

            .lp-input-error {
                border: 2px solid red;
            }
        }
    }

    &.open {
        background-color: rgba(0, 0, 0, 0.75);

        .lp-date-details-panel {
            right: 0;
        }
    }
}