.modal {
    position: absolute;
    top: 0;
    right: 0;
    transform: translateX(calc(100% + 12px));
    min-width: 380px;
    background: rgba(0, 35, 65, 0.9);
    padding: 0;
    margin: 0;
    box-shadow: 0 0 5px rgba(1, 211, 252, 0.75) inset;
    transition: max-height 0.3s;
    border-radius: 4px;

    &.modal-left {
        left: 0;
        transform: translateX(calc(-100% - 12px));
    }

    .modal-title {
        padding: 12px;
        font-size: 16px;
        font-weight: 500;
        color: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f0f0f0;
    }

    .modal-content {
        padding: 12px;
    }
}
